[][src]Struct solitaire_service::AppConfig

pub struct AppConfig { /* fields omitted */ }

Contains information about the running application

Methods

impl AppConfig[src]

pub fn new(
    task: String,
    address: String,
    port: u16,
    cfg_dir: String,
    root_logger: Logger,
    verbose: bool
) -> AppConfig
[src]

pub fn task(&self) -> &String[src]

pub fn address(&self) -> &String[src]

pub fn port(&self) -> u16[src]

pub fn files(&self) -> &FileService[src]

pub fn connections(&self) -> &ConnectionCache[src]

pub fn root_logger(&self) -> &Logger[src]

pub fn verbose(&self) -> bool[src]

Trait Implementations

impl Clone for AppConfig[src]

impl Debug for AppConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]