pub trait ParseableParametrized<T, P>: Sized
where T: ?Sized,
{ // Required method 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§

source

fn parse_with_param(buf: &T, params: P) -> Result<Self, DecodeError>

Deserialize the current type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: AsRef<[u8]> + 'a> ParseableParametrized<LinkMessageBuffer<&'a T>, u8> for Vec<Nla>

source§

impl<'a, T: AsRef<[u8]> + 'a> ParseableParametrized<LinkMessageBuffer<&'a T>, u16> for Vec<Nla>

Implementors§