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

Implementations on Foreign Types§

Source§

impl<T> PowerExpect for Option<T>

Source§

type Output = T

Source§

fn X(self) -> T

Source§

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

Source§

type Output = T

Source§

fn X(self) -> T

Implementors§