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
NotPresentUnexpectedTypeTrait Implementations
impl PartialEq for ValueAccessError[src]
fn eq(&self, __arg_0: &ValueAccessError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.