Enum bson::ordered::ValueAccessError [] [src]

pub enum ValueAccessError {
    NotPresent,
    UnexpectedType,
}

Error to indicate that either a value was empty or it contained an unexpected type, for use with the direct getters.

Variants

Trait Implementations

impl PartialEq for ValueAccessError
[src]

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

This method tests for !=.

impl Debug for ValueAccessError
[src]

Formats the value using the given formatter.

impl Display for ValueAccessError
[src]

Formats the value using the given formatter.

impl Error for ValueAccessError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more