pub type ShapeGuardResult<T> = Result<T, ShapeGuardFailure>;Expand description
Result type used by shape-guard metadata queries.
The error side preserves a ShapeGuardFailure wrapper so an AD callback
can retain the original ShapeGuardError even when a foreign callback
protocol accepts only a rendered message.
§Examples
use tenferro_ops::ShapeGuardResult;
let result: ShapeGuardResult<()> = Ok(());
assert!(result.is_ok());Aliased Type§
pub enum ShapeGuardResult<T> {
Ok(T),
Err(ShapeGuardFailure),
}