Skip to main content

Result

Type Alias Result 

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

Convenient type alias for Result<T, SubXError>.

Denotes the same type as before the crate split: the error type now lives in the subx-core crate, and this alias is the legacy subx_cli::Result path kept for consumers that have not yet migrated to subx_core::Result.

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