[][src]Struct nell::api::route::Route

pub struct Route {
    pub kind: u8,
    pub flags: u32,
    pub scope: u8,
    pub tos: u8,
    pub table: u8,
    pub protocol: u8,
    pub src: Option<IpAddr>,
    pub dst: Option<IpAddr>,
    pub iif: u32,
    pub oif: u32,
    pub gateway: Option<IpAddr>,
}

Fields

kind: u8flags: u32scope: u8tos: u8table: u8protocol: u8src: Option<IpAddr>dst: Option<IpAddr>iif: u32oif: u32gateway: Option<IpAddr>

Trait Implementations

impl Debug for Route[src]

impl Default for Route[src]

Auto Trait Implementations

impl RefUnwindSafe for Route

impl Send for Route

impl Sync for Route

impl Unpin for Route

impl UnwindSafe for Route

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

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.