Trait PowerExpect

Source
pub trait PowerExpect {
    type Output;

    // Required method
    fn X(self) -> Self::Output;
}
Expand description

Power expect for Result and Option.

Required Associated Types§

Required Methods§

Source

fn X(self) -> Self::Output

Implementors§

Source§

impl<T> PowerExpect for Option<T>

Source§

impl<T, E> PowerExpect for Result<T, E>
where E: Display,