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
Required Methods
fn into_result(self) -> Result<Self::Ok, Self::Err>
Consume itself and get the value of Result
.