Enum bililive_core::errors::IncompleteResult[][src]

pub enum IncompleteResult<T> {
    Ok(T),
    Incomplete(Needed),
    Err(ParseError),
}
Expand description

The result returned by parsing functions.

  • Ok indicates a successful parse.
  • Incomplete means that more data is needed to complete the parsing. The Needed enum can contain how many additional bytes are necessary.
  • Err indicates an error.

Variants

Ok(T)

Tuple Fields of Ok

0: T
Incomplete(Needed)

Tuple Fields of Incomplete

0: Needed

Tuple Fields of Err

0: ParseError

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.