Skip to main content

HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult<R> = Option<R>;
Expand description

The result type returned by every handler — Some(out) on success, None to signal “this handler does not apply here”.

Aliased Type§

pub enum HandlerResult<R> {
    None,
    Some(R),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(R)

Some value of type T.