[][src]Trait netlink_packet_utils::traits::Parseable

pub trait Parseable<T> where
    Self: Sized
{ pub fn parse(buf: &T) -> Result<Self, DecodeError>; }

A Parseable type can be used to deserialize data into the target type T for which it is implemented.

Required methods

pub fn parse(buf: &T) -> Result<Self, DecodeError>[src]

Deserialize the current type.

Loading content...

Implementors

impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'buffer T>> for DefaultNla[src]

Loading content...