Trait moreops::ResultOps
[−]
[src]
pub trait ResultOps<T = ()> { fn ok(self) -> Result<Self, T>
where
Self: Sized, { ... } fn err(self) -> Result<T, Self>
where
Self: Sized, { ... } }
Provided Methods
fn ok(self) -> Result<Self, T> where
Self: Sized,
Self: Sized,
fn err(self) -> Result<T, Self> where
Self: Sized,
Self: Sized,
Implementors
impl<T> ResultOps for T