Result

Type Alias Result 

Source
pub type Result<T> = SubXResult<T>;
Expand description

Convenient type alias for Result<T, SubXError>.

This type alias simplifies error handling throughout the SubX library by providing a default error type for all fallible operations.

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(SubXError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SubXError)

Contains the error value