Type Alias HandlerResult

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

Result type for a Restate handler.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(HandlerError)

Contains the error value