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

source

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

Deserialize the current type.

Object Safety§

This trait is not object safe.

Implementors§