pub trait Unwrappable<T, R> {
type Output: Debug + PartialEq<R>;
// Required method
fn unwrap_into(self) -> Self::Output;
}
Expand description
A trait that can be R
, Result<R>
, Option<R>
, Result<Option<R>>
, or
Option<Result<R>>
and can unwrap to return R.