pub trait ExpectNoneReport {
    // Required method
    fn expect_none_report(self, msg: &str);
}
Expand description

Analogue of the expect_none methods on Option, but useful in a Wasm setting.

Required Methods§

source

fn expect_none_report(self, msg: &str)

Like the default expect_none_report on, e.g., Option, but calling fail with the given message, instead of panic.

Implementations on Foreign Types§

source§

impl<A: Debug> ExpectNoneReport for Option<A>

Implementors§