Trait claw_common::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,

§

type Output = T

source§

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

Implementors§