Skip to main content

ShredResult

Type Alias ShredResult 

Source
pub type ShredResult<T> = Result<T, ShredError>;
Expand description

A specialized Result type alias for all sys-shred operations.

This type is used consistently across the library to enforce explicit error propagation and handling.

Aliased Type§

pub enum ShredResult<T> {
    Ok(T),
    Err(ShredError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ShredError)

Contains the error value