Trait OkPretty

Source
pub trait OkPretty {
    type Output;

    // Required method
    fn ok_pretty(self) -> Option<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn ok_pretty(self) -> Option<Self::Output>

Implementations on Foreign Types§

Source§

impl<T, E> OkPretty for Result<T, E>
where E: Diagnostic + Sync + Send + 'static,

Source§

type Output = T

Source§

fn ok_pretty(self) -> Option<Self::Output>

Implementors§