Type Alias ambient_api::global::ResultEmpty
source · pub type ResultEmpty = Result<(), Error>;
Expand description
In Rust, functions that can fail are expected to return a Result type.
ResultEmpty is a Result type that has no value and can accept
any kind of error through the question-mark operator ?
.
It is used as the default return type for Ambient operations that take a callback.
Aliased Type§
enum ResultEmpty {
Ok(()),
Err(Error),
}