Trait FromByteStreamWith
trait FromByteStreamWith<'a>
Implemented by complex types that require some additional context
to parse themselves from a reader. Analagous to FromStr.
Associated Types
type Context: Outlives("'a")Some context to use when parsing
type ErrorError generated during parsing, such as
io::Error
Required Methods
fn from_reader<R: ByteRead + ?Sized>(r: &mut R, context: &<Self as >::Context) -> Result<Self, <Self as >::Error> where Self: SizedParse Self from reader