Result

Type Alias Result 

Source
pub type Result<R, E = u8>
where E: HandlerCode,
= Result<R, HandlerError<E>>;
Expand description

The standard result type which should be used as a return type in handler implementations.

Aliased Type§

pub enum Result<R, E = u8>
where E: HandlerCode,
{ Ok(R), Err(HandlerError<E>), }

Variants§

§1.0.0

Ok(R)

Contains the success value

§1.0.0

Err(HandlerError<E>)

Contains the error value