rama_http_backend::server

Type Alias HttpServeResult

Source
pub type HttpServeResult = Result<(), BoxError>;
Expand description

Result type of HttpServer::serve.

Aliased Type§

enum HttpServeResult {
    Ok(()),
    Err(Box<dyn Error + Send + Sync>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error + Send + Sync>)

Contains the error value