SafeUnwrap

Trait SafeUnwrap 

Source
pub trait SafeUnwrap {
    type Inner;

    // Required method
    fn safe_unwrap(self) -> Self::Inner;
}

Required Associated Types§

Required Methods§

Source

fn safe_unwrap(self) -> Self::Inner

Implementations on Foreign Types§

Source§

impl<T> SafeUnwrap for Result<T, Infallible>

Source§

type Inner = T

Source§

fn safe_unwrap(self) -> Self::Inner

Implementors§