Trait tool::monad::Unwrap[][src]

pub trait Unwrap {
    type Value;
    fn unwrap(self) -> Self::Value;
}

Abstracts over unwrapping.

Associated Types

Required Methods

Implementations on Foreign Types

impl<T> Unwrap for Option<T>
[src]

impl<T, E: Debug> Unwrap for Result<T, E>
[src]

Implementors