Trait finchers_core::IsResult [] [src]

pub trait IsResult: Sealed {
    type Ok;
    type Err;
    fn into_result(self) -> Result<Self::Ok, Self::Err>;
}

A helper trait enforcing that the type is Result.

Associated Types

The type of success value.

The type of error value.

Required Methods

Consume itself and get the value of Result.

Implementations on Foreign Types

impl<T, E> IsResult for Result<T, E>
[src]

[src]

Implementors