Expect

Trait Expect 

Source
pub trait Expect<T> {
    // Required method
    fn rart_expect(self, msg: &str) -> T;
}

Required Methods§

Source

fn rart_expect(self, msg: &str) -> T

Implementations on Foreign Types§

Source§

impl<T> Expect<T> for Option<T>

Source§

fn rart_expect(self, msg: &str) -> T

Source§

impl<T, E> Expect<T> for Result<T, E>

Source§

fn rart_expect(self, msg: &str) -> T

Implementors§