pub type MetadataResult<T> = Result<T, MetadataError>;Expand description
Result type used by explicit Metadata operations that report failure
reasons instead of collapsing them into None.
§Type Parameters
T- Success value returned by the metadata operation.
§Examples
use qubit_metadata::MetadataResult;
let result: MetadataResult<&str> = Ok("ready");
assert_eq!(result, Ok("ready"));Aliased Type§
pub enum MetadataResult<T> {
Ok(T),
Err(MetadataError),
}