Enum web_push::WebPushError
[−]
[src]
pub enum WebPushError {
Unspecified,
Unauthorized,
BadRequest,
ServerError(Option<RetryAfter>),
NotImplemented,
InvalidUri,
TimeoutError,
EndpointNotValid,
EndpointNotFound,
PayloadTooLarge,
TlsError,
}Variants
UnspecifiedBadRequestServerError(Option<RetryAfter>)NotImplementedInvalidUriTimeoutErrorEndpointNotValidEndpointNotFoundPayloadTooLargeTlsErrorTrait Implementations
impl PartialEq for WebPushError[src]
fn eq(&self, __arg_0: &WebPushError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &WebPushError) -> bool
This method tests for !=.
impl Debug for WebPushError[src]
impl From<TimeoutError<WebPushResponse>> for WebPushError[src]
fn from(_: TimeoutError<WebPushResponse>) -> WebPushError
Performs the conversion.
impl From<Unspecified> for WebPushError[src]
fn from(_: Unspecified) -> WebPushError
Performs the conversion.
impl From<Error> for WebPushError[src]
fn from(_: Error) -> WebPushError
Performs the conversion.
impl Error for WebPushError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more