[][src]Trait concordium_std::ExpectNoneReport

pub trait ExpectNoneReport {
    pub fn expect_none_report(self, msg: &str);
}

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

Required methods

pub fn expect_none_report(self, msg: &str)[src]

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

Loading content...

Implementations on Foreign Types

impl<A: Debug> ExpectNoneReport for Option<A>[src]

Loading content...

Implementors

Loading content...