pub trait ResultExt: Sealed + Sized {
    fn internal(self) -> Result<Self::Value>;
}
Expand description

Extension methods on Result.

Required Methods

Converts this result to an internal error.

Used when an unrecoverable error happens.

See internal_error for more information.

Errors

Returns Err if self is Err.

Implementors