HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult = Result<Option<Value>, String>;
Expand description

Result type for RPC handler responses.

Aliased Type§

pub enum HandlerResult {
    Ok(Option<Value>),
    Err(String),
}

Variants§

§1.0.0

Ok(Option<Value>)

Contains the success value

§1.0.0

Err(String)

Contains the error value