Skip to main content

UnwrapValid

Trait UnwrapValid 

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

Required Methods§

Source

fn valid(self) -> R

Implementations on Foreign Types§

Source§

impl<R> UnwrapValid<R> for Option<R>

Source§

fn valid(self) -> R

Source§

impl<R, E: Display> UnwrapValid<R> for Result<R, E>

Source§

fn valid(self) -> R

Implementors§