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