Trait netlink_packet_utils::traits::ParseableParametrized [−][src]
pub trait ParseableParametrized<T, P> where
Self: Sized,
T: ?Sized, { fn parse_with_param(buf: &T, params: P) -> 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_with_param(buf: &T, params: P) -> Result<Self, DecodeError>
fn parse_with_param(buf: &T, params: P) -> Result<Self, DecodeError>Deserialize the current type.