Skip to main content

Result

Type Alias Result 

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

Error types and Result alias for the crate. A type alias for Result with FSRSError as the error type.

Aliased Type§

pub enum Result<T, E = FSRSError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value