Enum nullable_result::NullableResult [−][src]
pub enum NullableResult<T, E> {
    Ok(T),
    Err(E),
    None,
}Variants
Implementations
Returns the contained value if it’s Ok, returns item otherwise.
Returns the contained value if it’s Ok, otherwise, it calls f and fowards
its return value.
Returns an Option<T> consuming self, returns None if the NullableResult
contains Err.
Returns a Result<T, E>, returns the provided err if the NullableResult
contains None
Returns a Result<T, E>, if the NullableResult contains Ok or Err, the
value is returned, otherwise, returns the result of f.
Maps to a NullableResult with a different ok type.
Maps to a NullableResult with a different err type.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<T, E> RefUnwindSafe for NullableResult<T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe, 
impl<T, E> Send for NullableResult<T, E> where
    E: Send,
    T: Send, 
impl<T, E> Sync for NullableResult<T, E> where
    E: Sync,
    T: Sync, 
impl<T, E> Unpin for NullableResult<T, E> where
    E: Unpin,
    T: Unpin, 
impl<T, E> UnwindSafe for NullableResult<T, E> where
    E: UnwindSafe,
    T: UnwindSafe, 
Blanket Implementations
Mutably borrows from an owned value. Read more