Enum nom::Needed [] [src]

pub enum Needed {
    Unknown,
    Size(usize),
}

Contains information on needed data if a parser returned Incomplete

Variants

needs more data, but we do not know how much

contains the required data size

Methods

impl Needed
[src]

[src]

[src]

Maps a Needed to Needed by appling a function to a contained Size value.

Trait Implementations

impl Debug for Needed
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Needed
[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 Eq for Needed
[src]

impl Clone for Needed
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Needed
[src]