ResultExt

Trait ResultExt 

Source
pub trait ResultExt<T> {
    // Required methods
    fn first<S>(self) -> Result<S, MatchError>
       where T: IntoIterator<Item = S>;
    fn abort(self) -> Result<T, MatchError>;
}

Required Methods§

Source

fn first<S>(self) -> Result<S, MatchError>
where T: IntoIterator<Item = S>,

Source

fn abort(self) -> Result<T, MatchError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§