Trait concordium_std::ExpectNoneReport [−][src]
pub trait ExpectNoneReport { 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
fn expect_none_report(self, msg: &str)
[src]
Expand description
Like the default expect_none_report
on, e.g., Option
, but calling
fail with the given message, instead of panic
.
Implementations on Foreign Types
impl<A: Debug> ExpectNoneReport for Option<A>
[src]
impl<A: Debug> ExpectNoneReport for Option<A>
[src]