Skip to main content

Result

Type Alias Result 

Source
pub type Result = Result<(), BoxError>;
Expand description

The standard result type returned by handlers.

Aliased Type§

pub enum Result {
    Ok(()),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value