pub trait ParseableParametrized<T, P>{
type Error;
// Required method
fn parse_with_param(buf: &T, params: P) -> Result<Self, Self::Error>;
}
Expand description
A Parseable
type can be used to deserialize data from the type T
for
which it is implemented.
Required Associated Types§
Required Methods§
sourcefn parse_with_param(buf: &T, params: P) -> Result<Self, Self::Error>
fn parse_with_param(buf: &T, params: P) -> Result<Self, Self::Error>
Deserialize the current type.
Object Safety§
This trait is not object safe.