Added support for traits

This commit is contained in:
2019-10-01 22:34:30 +02:00
parent 139c1b1f01
commit 9669748e90
3 changed files with 10 additions and 2 deletions

View File

@@ -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;

View File

@@ -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
View 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