Struct nispor::Route[][src]

pub struct Route {
Show 45 fields pub address_family: AddressFamily, pub tos: u8, pub table: u32, pub protocol: RouteProtocol, pub scope: RouteScope, pub route_type: RouteType, pub flags: u32, pub dst: Option<String>, pub oif: Option<String>, pub iif: Option<String>, pub prefered_src: Option<String>, pub src: Option<String>, pub class_id: Option<u32>, pub gateway: Option<String>, pub via: Option<String>, pub mark: Option<u32>, pub uid: Option<u32>, pub lock: Option<u32>, pub mtu: Option<u32>, pub window: Option<u32>, pub rtt: Option<u32>, pub rttvar: Option<u32>, pub ssthresh: Option<u32>, pub cwnd: Option<u32>, pub advmss: Option<u32>, pub reordering: Option<u32>, pub hoplimit: Option<u32>, pub initcwnd: Option<u32>, pub features: Option<u32>, pub rto_min: Option<u32>, pub initrwnd: Option<u32>, pub quickack: Option<u32>, pub cc_algo: Option<u32>, pub fastopen_no_cookie: Option<u32>, pub cache_clntref: Option<u32>, pub cache_last_use: Option<u32>, pub cache_expires: Option<u32>, pub cache_error: Option<u32>, pub cache_used: Option<u32>, pub cache_id: Option<u32>, pub cache_ts: Option<u32>, pub cache_ts_age: Option<u32>, pub metric: Option<u32>, pub perf: Option<u8>, pub multipath: Option<Vec<MultipathRoute>>,
}

Fields

address_family: AddressFamilytos: u8table: u32protocol: RouteProtocolscope: RouteScoperoute_type: RouteTypeflags: u32dst: Option<String>oif: Option<String>iif: Option<String>prefered_src: Option<String>src: Option<String>class_id: Option<u32>gateway: Option<String>via: Option<String>mark: Option<u32>uid: Option<u32>lock: Option<u32>mtu: Option<u32>window: Option<u32>rtt: Option<u32>rttvar: Option<u32>ssthresh: Option<u32>cwnd: Option<u32>advmss: Option<u32>reordering: Option<u32>hoplimit: Option<u32>initcwnd: Option<u32>features: Option<u32>rto_min: Option<u32>initrwnd: Option<u32>quickack: Option<u32>cc_algo: Option<u32>fastopen_no_cookie: Option<u32>cache_clntref: Option<u32>cache_last_use: Option<u32>cache_expires: Option<u32>cache_error: Option<u32>cache_used: Option<u32>cache_id: Option<u32>cache_ts: Option<u32>cache_ts_age: Option<u32>metric: Option<u32>perf: Option<u8>multipath: Option<Vec<MultipathRoute>>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.