Trait try_unwrap::TryUnwrapResult
source · pub trait TryUnwrapResult {
type T;
type E;
// Required method
fn try_unwrap(self) -> Result<Self::T, Self::E>;
}
Expand description
Trait for implementing try_unwrap()
on the generic Result<T, E>
type.