Skip to main content

HandlerResult

Type Alias HandlerResult 

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

Type alias matching python-telegram-bot’s HandlerResult.

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(HandlerError)

Contains the error value