Trait wasm::execution::assert_validated::UnwrapValidatedExt
source · pub(crate) trait UnwrapValidatedExt<T> {
// Required method
fn unwrap_validated(self) -> T;
}
Required Methods§
fn unwrap_validated(self) -> T
Implementations on Foreign Types§
source§impl<T> UnwrapValidatedExt<T> for Option<T>
impl<T> UnwrapValidatedExt<T> for Option<T>
source§fn unwrap_validated(self) -> T
fn unwrap_validated(self) -> T
Indicate that we can assume this Option to be Some(_) due to prior validation
source§impl<T, E: Debug> UnwrapValidatedExt<T> for Result<T, E>
impl<T, E: Debug> UnwrapValidatedExt<T> for Result<T, E>
source§fn unwrap_validated(self) -> T
fn unwrap_validated(self) -> T
Indicate that we can assume this Result to be Ok(_) due to prior validation