HttpServeResult

Type Alias HttpServeResult 

pub type HttpServeResult = Result<(), Box<dyn Error + Send + Sync>>;
Available on crate features http and http-full only.
Expand description

Result type of HttpServer::serve.

Aliased Type§

pub 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