Type Alias Result
pub type Result<T, E = Error> = Result<T, E>;Expand description
A result of either Ok(T) or an Err(Error).
Aliased Type§
pub enum Result<T, E = Error> {
Ok(T),
Err(E),
}Variants§
Trait Implementations§
impl<T, E> ComponentType for Result<T, E>where
T: ComponentType,
E: ComponentType,
Available on crate features
component-model and runtime only.impl<T, E> Lift for Result<T, E>
Available on crate features
component-model and runtime only.impl<T, E> Lower for Result<T, E>
Available on crate features
component-model and runtime only.impl<T> WasmRet for Result<T>where
T: WasmRet,
Available on crate feature
runtime only.