Trait netlink_packet_utils::traits::Parseable [−][src]
pub trait Parseable<T> where
Self: Sized,
T: ?Sized, { fn parse(buf: &T) -> Result<Self, DecodeError>; }
Expand description
A Parseable type can be used to deserialize data from the type T for which it is
implemented.
Required methods
fn parse(buf: &T) -> Result<Self, DecodeError>
fn parse(buf: &T) -> Result<Self, DecodeError>Deserialize the current type.