Trait tarrasque::Extract

source ·
pub trait Extract<'a, P> {
    fn extract(stream: &mut Stream<'a>, _: P) -> ExtractResult<'a, Self>
    where
        Self: Sized
; }
Expand description

A type that can be extracted from a stream of bytes.

Required Methods

Extracts a value of this type from the supplied stream of bytes.

See Stream::extract for usage information.

Implementations on Foreign Types

Implementors