Trait FromByteStream

trait FromByteStream

Implemented by complex types that don't require any additional context to parse themselves from a reader. Analagous to FromStr.

Associated Types

type Error

Error generated during parsing, such as io::Error

Required Methods

fn from_reader<R: ByteRead + ?Sized>(r: &mut R) -> Result<Self, <Self as >::Error>
where
    Self: Sized

Parse Self from reader