Trait tarrasque::Extract

source ·
pub trait Extract<'s, P> {
    fn extract(stream: &mut Stream<'s>, _: P) -> ExtractResult<'s, 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