Trait UnwrapValid

Source
pub trait UnwrapValid<T> {
    // Required method
    fn valid(self) -> T;
}

Required Methods§

Source

fn valid(self) -> T

Implementations on Foreign Types§

Source§

impl<T> UnwrapValid<T> for Option<T>

Source§

fn valid(self) -> T

Source§

impl<T, E: Debug> UnwrapValid<T> for Result<T, E>

Source§

fn valid(self) -> T

Implementors§