conv::errorsTrait UnwrapOk
Source pub trait UnwrapOk<T> {
// Required method
fn unwrap_ok(self) -> T;
}
Expand description
Safely unwrap a Result
that cannot contain an error.
Unwraps a Result
without possibility of failing.
Technically, this is not necessary; it’s provided simply to make user code a little clearer.