pub struct RouterConfig {
    pub name: String,
    pub cidr: String,
    pub static_ips: Vec<String>,
    pub static_ip: String,
    pub queue_size: usize,
    pub nat_type: Option<NatType>,
    pub min_delay: Duration,
    pub max_jitter: Duration,
}

Fields

name: Stringcidr: Stringstatic_ips: Vec<String>static_ip: Stringqueue_size: usizenat_type: Option<NatType>min_delay: Durationmax_jitter: Duration

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.