Trait tailsome::IntoResult
source · [−]pub trait IntoResult: Sized {
fn into_ok<E>(self) -> Result<Self, E>;
fn into_err<O>(self) -> Result<O, Self>;
}
Expand description
Provides into_ok
and into_err
. Implemented for all Sized
types.