qubit_metadata/metadata_result.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2025 - 2026.
4 * Haixing Hu, Qubit Co. Ltd.
5 *
6 * All rights reserved.
7 *
8 ******************************************************************************/
9//! [`MetadataResult`] — result alias for explicit `Metadata` operations.
10
11use crate::metadata_error::MetadataError;
12
13/// Result type used by explicit `Metadata` operations that report failure
14/// reasons instead of collapsing them into `None`.
15pub type MetadataResult<T> = Result<T, MetadataError>;