pub trait Parseable<T>{
type Error;
// Required method
fn parse(buf: &T) -> 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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".