Trait vortex_error::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§
Required Methods§
sourcefn vortex_unwrap(self) -> Self::Output
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).