pub trait ParseableParametrized<T, P>
where Self: Sized, 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.

Implementors§