[][src]Trait void::ResultVoidExt

pub trait ResultVoidExt<T>: Sized {
    pub fn void_unwrap(self) -> T;
}

Extensions to Result<T, Void>

Required methods

pub fn void_unwrap(self) -> T[src]

Get the value out of a wrapper.

Loading content...

Implementations on Foreign Types

impl<T> ResultVoidExt<T> for Result<T, Void>[src]

pub fn void_unwrap(self) -> T[src]

Get the value out of an always-ok Result.

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

Loading content...

Implementors

Loading content...