Skip to main content

HandlerResult

Type Alias HandlerResult 

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

handler 业务返回:Ok(()) 处理成功,Err(e) 处理出错。

Aliased Type§

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

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Error)

Contains the error value