pub type Result<T> = Result<T, Error>;Expand description
Convenience result alias for functions that can fail with Error.
Architectural intent: Standardizes the error channel across the
codebase so APIs clearly communicate that failures are domain-specific
Hexz errors rather than arbitrary std errors.
Constraints: Callers should treat Error as opaque and avoid
depending on the exact display text; matching on variants is preferred for
structured handling.
Side effects: No additional side effects beyond those of the underlying operation whose result is being wrapped.
Aliased Type§
pub enum Result<T> {
Ok(T),
Err(Error),
}