Type Alias ResponseResult

Source
pub type ResponseResult<B> = Result<Response<B>, ResponseError>;
Expand description

HTTP 响应结果

Aliased Type§

pub enum ResponseResult<B> {
    Ok(Response<B>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Response<B>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value