Trait void::ResultVoidErrExt [] [src]

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

Extensions to Result<Void, E>

Required Methods

Get the error out of a wrapper.

Implementations on Foreign Types

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

Get the error out of an always-err Result.

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

Implementors