[][src]Module casperlabs_contract::unwrap_or_revert

Home of UnwrapOrRevert, a convenience trait for unwrapping values.

Traits

UnwrapOrRevert

A trait which provides syntactic sugar for unwrapping a type or calling runtime::revert if this fails. It is implemented for Result and Option.