Trait Parseable

Source
pub trait Parseable<T> {
    // Required method
    fn parse(&self) -> Result<T, DecodeError>;
}
Expand description

A Parseable type can be used to deserialize data into the target type T for which it is implemented.

Required Methods§

Source

fn parse(&self) -> Result<T, DecodeError>

Deserialize the current type.

Implementors§