Module casper_contract::unwrap_or_revert [−][src]
Expand description
Home of UnwrapOrRevert
, a convenience trait for unwrapping values.
Traits
A trait which provides syntactic sugar for unwrapping a type or calling
runtime::revert
if this fails. It is implemented for Result
and Option
.