Result

Type Alias Result 

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

Result type alias for sleep-utils operations

This is a convenience type that uses SleepError as the error type for all functions in this crate.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SleepError)

Contains the error value