Trait void::ResultVoidErrExt
source · pub trait ResultVoidErrExt<E>: Sized {
// Required method
fn void_unwrap_err(self) -> E;
}
Expand description
Extensions to Result<Void, E>
Required Methods§
sourcefn void_unwrap_err(self) -> E
fn void_unwrap_err(self) -> E
Get the error out of a wrapper.
Implementations on Foreign Types§
source§impl<E> ResultVoidErrExt<E> for Result<Void, E>
impl<E> ResultVoidErrExt<E> for Result<Void, E>
source§fn void_unwrap_err(self) -> E
fn void_unwrap_err(self) -> E
Get the error out of an always-err Result.
Never panics, since it is statically known to be Err.