Enum web_push::WebPushError [] [src]

pub enum WebPushError {
    Unspecified,
    Unauthorized,
    BadRequest,
    ServerError(Option<RetryAfter>),
    NotImplemented,
    InvalidUri,
    TimeoutError,
    EndpointNotValid,
    EndpointNotFound,
    PayloadTooLarge,
    TlsError,
}

Variants

Trait Implementations

impl PartialEq for WebPushError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for WebPushError
[src]

Formats the value using the given formatter.

impl From<TimeoutError<WebPushResponse>> for WebPushError
[src]

Performs the conversion.

impl From<Unspecified> for WebPushError
[src]

Performs the conversion.

impl From<Error> for WebPushError
[src]

Performs the conversion.

impl Error for WebPushError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for WebPushError
[src]

Formats the value using the given formatter. Read more