Enum nom::Needed [] [src]

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

Contains information on needed data if a parser returned Incomplete

Variants

Unknown

needs more data, but we do not know how much

Size

contains the required data size

Trait Implementations

Derived Implementations

impl Copy for Needed

impl Clone for Needed

fn clone(&self) -> Needed

fn clone_from(&mut self, source: &Self)

impl Eq for Needed

impl PartialEq for Needed

fn eq(&self, __arg_0: &Needed) -> bool

fn ne(&self, __arg_0: &Needed) -> bool

impl Debug for Needed

fn fmt(&self, __arg_0: &mut Formatter) -> Result