Struct portus::Config[][src]

pub struct Config<I, U: ?Sized> where
    I: Ipc,
    U: CongAlg<I> + 'static, 
{ pub logger: Option<Logger>, pub config: U::Config, }

Defines a slog::Logger to use for (optional) logging and a custom CongAlg::Config to pass into algorithms as new flows are created.

Fields

Trait Implementations

impl<I, U: ?Sized> Sync for Config<I, U> where
    I: Ipc,
    U: CongAlg<I> + 'static, 
[src]

impl<I, U: ?Sized> Send for Config<I, U> where
    I: Ipc,
    U: CongAlg<I>, 
[src]

impl<I, U> Clone for Config<I, U> where
    I: Ipc,
    U: CongAlg<I> + 'static, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more