TestAssert

Trait TestAssert 

Source
pub trait TestAssert {
    type Output;

    // Required method
    fn assert(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn assert(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl<T> TestAssert for Option<T>

Source§

type Output = T

Source§

fn assert(self) -> T

Source§

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

Source§

type Output = T

Source§

fn assert(self) -> T

Implementors§