Struct salvo_core::http::errors::http_error::HttpError [−][src]
pub struct HttpError {
pub code: StatusCode,
pub name: String,
pub summary: Option<String>,
pub detail: Option<String>,
}
Fields
code: StatusCode
name: String
summary: Option<String>
detail: Option<String>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpError
impl UnwindSafe for HttpError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more