[][src]Function expected::expected

pub fn expected<F, R>(f: F) -> (R, Option<Disappoints>) where
    F: FnOnce() -> R, 

Run the provided closure and checks to see if all expectation have been satisfied.