Added support for traits
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
//! File: settings.rs
|
//! File: settings.rs
|
||||||
//! Description: Defines a stuct that holds all of the configuration settings passed to the program
|
//! Description: Defines a stuct that holds all of the configuration settings passed to the program
|
||||||
//! by line.
|
//! by line.
|
||||||
//! Author: Jali <jali@orcacentral.de>
|
|
||||||
//! Created On: Tue 04 Jun 2019 10:30:46 pm CEST
|
//! Created On: Tue 04 Jun 2019 10:30:46 pm CEST
|
||||||
//! Last Modified: TIMESTAMP
|
//! Last Modified: Tue 01 Oct 2019 09:52:47 pm CEST
|
||||||
|
//! Author: Jali <jali@orcacentral.de>
|
||||||
|
|
||||||
use clap::ArgMatches;
|
use clap::ArgMatches;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ extern crate clap;
|
|||||||
extern crate tokio;
|
extern crate tokio;
|
||||||
|
|
||||||
mod configuration;
|
mod configuration;
|
||||||
|
mod traits;
|
||||||
|
|
||||||
use crate::configuration::Settings;
|
use crate::configuration::Settings;
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
|
|||||||
7
src/traits.rs
Normal file
7
src/traits.rs
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
//! File: traits.rs
|
||||||
|
//! Description: Contains the traits used in the project.
|
||||||
|
//! Created On: TIMESTAMP
|
||||||
|
//! Last Modified: TIMESTAMP
|
||||||
|
//! Author: Jali <jali@orca-central.de>
|
||||||
|
|
||||||
|
pub mod
|
||||||
Reference in New Issue
Block a user