[][src]Trait void::ResultVoidErrExt

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

Extensions to Result<Void, E>

Required methods

pub 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]

pub 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...