[][src]Enum netlink_packet_route::NetlinkPayload

pub enum NetlinkPayload<I> where
    I: Debug + PartialEq<I> + Eq + Clone
{ Done, Error(ErrorMessage), Ack(ErrorMessage), Noop, Overrun(Vec<u8, Global>), InnerMessage(I), }

Variants

Done
Noop
Overrun(Vec<u8, Global>)
InnerMessage(I)

Implementations

impl<I> NetlinkPayload<I> where
    I: NetlinkSerializable<I> + Debug + PartialEq<I> + Eq + Clone
[src]

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

Trait Implementations

impl<I> Clone for NetlinkPayload<I> where
    I: Clone + Debug + PartialEq<I> + Eq
[src]

impl<I> Debug for NetlinkPayload<I> where
    I: Debug + PartialEq<I> + Eq + Clone
[src]

impl<I> Eq for NetlinkPayload<I> where
    I: Eq + Debug + PartialEq<I> + Clone
[src]

impl From<RtnlMessage> for NetlinkPayload<RtnlMessage>[src]

impl<I> PartialEq<NetlinkPayload<I>> for NetlinkPayload<I> where
    I: PartialEq<I> + Debug + Eq + Clone
[src]

impl<I> StructuralEq for NetlinkPayload<I> where
    I: Debug + PartialEq<I> + Eq + Clone
[src]

impl<I> StructuralPartialEq for NetlinkPayload<I> where
    I: Debug + PartialEq<I> + Eq + Clone
[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for NetlinkPayload<I> where
    I: RefUnwindSafe
[src]

impl<I> Send for NetlinkPayload<I> where
    I: Send
[src]

impl<I> Sync for NetlinkPayload<I> where
    I: Sync
[src]

impl<I> Unpin for NetlinkPayload<I> where
    I: Unpin
[src]

impl<I> UnwindSafe for NetlinkPayload<I> where
    I: UnwindSafe
[src]

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> 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 = 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.