vortex_error

Trait VortexUnwrap

Source
pub trait VortexUnwrap {
    type Output;

    // Required method
    fn vortex_unwrap(self) -> Self::Output;
}
Expand description

A trait for unwrapping a VortexResult.

Required Associated Types§

Source

type Output

The type of the value being unwrapped.

Required Methods§

Source

fn vortex_unwrap(self) -> Self::Output

Returns the value of the result if it is Ok, otherwise panics with the error. Should be called only in contexts where the error condition represents a bug (programmer error).

Implementors§