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§
fn first<S>(self) -> Result<S, MatchError>where
T: IntoIterator<Item = S>,
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.