Enum mail_parser::parsers::header::HeaderParserResult[][src]

pub enum HeaderParserResult<'x> {
    Supported(fn(_: &mut dyn MessageField<'x>, _: &mut MessageStream<'x>)),
    Unsupported(&'x [u8]),
    Lf,
    Eof,
}

Variants

Supported(fn(_: &mut dyn MessageField<'x>, _: &mut MessageStream<'x>))

Tuple Fields of Supported

0: fn(_: &mut dyn MessageField<'x>, _: &mut MessageStream<'x>)
Unsupported(&'x [u8])

Tuple Fields of Unsupported

0: &'x [u8]
Lf
Eof

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.