Skip to main content

HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult = Result<Vec<u8>, HandlerError>;
Expand description

Result type returned by syncbat handlers.

Aliased Type§

pub enum HandlerResult {
    Ok(Vec<u8>),
    Err(HandlerError),
}

Variants§

§1.0.0

Ok(Vec<u8>)

Contains the success value

§1.0.0

Err(HandlerError)

Contains the error value