Type Alias carapax::HandlerResult

source ·
pub type HandlerResult = Result<(), HandlerError>;
Expand description

A result returned by a Handler trait implementation.

Aliased Type§

enum HandlerResult {
    Ok(()),
    Err(HandlerError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(HandlerError)

Contains the error value