Result

Type Alias Result 

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

Result type for Bottle operations.

This is a type alias for std::result::Result<T, BottleError>, providing a convenient way to return results from Bottle operations.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(BottleError)

Contains the error value