Enum lber::Move [] [src]

pub enum Move {
    Consume(usize),
    Seek(SeekFrom),
    Await(Needed),
}

Variants

indcates how much data was consumed

indicates where in the input the consumer must seek

indicates more data is needed

Trait Implementations

impl<'x> Producer<'x, &'x [u8], Move> for FileProducer
[src]

[src]

Applies a consumer once on the produced data, and return the consumer's state Read more

[src]

Applies a consumer once on the produced data, and returns the generated value if there is one

impl<'x, 'b> Producer<'b, &'x [u8], Move> for MemProducer<'x>
[src]

[src]

Applies a consumer once on the produced data, and return the consumer's state Read more

[src]

Applies a consumer once on the produced data, and returns the generated value if there is one

impl Copy for Move
[src]

impl Eq for Move
[src]

impl PartialEq<Move> for Move
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Move
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Move
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Consumer<&'a [u8], StructureTag, (), Move> for Parser
[src]

[src]

implement handle for the current computation, returning the new state of the consumer

[src]

returns the current state

Auto Trait Implementations

impl Send for Move

impl Sync for Move