pub trait ParseableParametrized<T, P>{
// 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§
sourcefn 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.
Object Safety§
This trait is not object safe.