qubit-metadata 0.2.1

Type-safe extensible metadata model for the Qubit LLM SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026.
 *    Haixing Hu, Qubit Co. Ltd.
 *
 *    All rights reserved.
 *
 ******************************************************************************/
//! [`MetadataResult`] — result alias for explicit `Metadata` operations.

use crate::metadata_error::MetadataError;

/// Result type used by explicit `Metadata` operations that report failure
/// reasons instead of collapsing them into `None`.
pub type MetadataResult<T> = Result<T, MetadataError>;