[−][src]Trait salvo::http::errors::HttpError
Required methods
Loading content...Provided methods
Loading content...Methods
impl dyn HttpError + 'static
[src]
pub fn is<T>(&self) -> bool where
T: Any,
[src]
T: Any,
pub fn from_std_error(
err: Box<dyn Error + 'static + Send>
) -> InternalServerError
[src]
err: Box<dyn Error + 'static + Send>
) -> InternalServerError
Implementations on Foreign Types
impl HttpError for Box<dyn HttpError + 'static>
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
Implementors
impl HttpError for BadGatewayError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for BadRequestError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ConcreteError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ConflictError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ExpectationFailedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for FailedDependencyError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ForbiddenError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for GatewayTimeoutError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for GoneError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for HttpVersionNotSupportedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ImATeapotError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for InsufficientStorageError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for InternalServerError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for LengthRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for LockedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for LoopDetectedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for MethodNotAllowedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for MisdirectedRequestError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for NetworkAuthenticationRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for NotAcceptableError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for NotExtendedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for NotFoundError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for NotImplementedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for PayloadTooLargeError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for PaymentRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for PreconditionFailedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for PreconditionRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ProxyAuthenticationRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for RangeNotSatisfiableError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for RequestHeaderFieldsTooLargeError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for RequestTimeoutError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for ServiceUnavailableError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for TooManyRequestsError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UnauthorizedError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UnavailableForLegalReasonsError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UnprocessableEntityError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UnsupportedMediaTypeError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UpgradeRequiredError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for UriTooLongError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl HttpError for VariantAlsoNegotiatesError
[src]
fn code(&self) -> StatusCode
[src]
fn name(&self) -> &str
[src]
fn summary(&self) -> &str
[src]
fn detail(&self) -> &str
[src]
impl<E> HttpError for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,