Trait void::ResultVoidErrExt[][src]

pub trait ResultVoidErrExt<E>: Sized {
    fn void_unwrap_err(self) -> E;
}

Extensions to Result<Void, E>

Required methods

fn void_unwrap_err(self) -> E[src]

Get the error out of a wrapper.

Loading content...

Implementations on Foreign Types

impl<E> ResultVoidErrExt<E> for Result<Void, E>[src]

fn void_unwrap_err(self) -> E[src]

Get the error out of an always-err Result.

Never panics, since it is statically known to be Err.

Loading content...

Implementors

Loading content...