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]
[]

[]

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

Trait Implementations

impl Debug for Needed
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl PartialEq for Needed
[src]
[+]

[]

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

[]

This method tests for !=.

impl Eq for Needed
[src]

impl Clone for Needed
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Copy for Needed
[src]

Auto Trait Implementations

impl Send for Needed

impl Sync for Needed