[−][src]Enum web_push::WebPushError
Variants
An unknown error happened encrypting the message,
Please provide valid credentials to send the notification
Request was badly formed
Contains an optional Duration
, until the user can retry the request
The feature is not implemented yet
The provided URI is invalid
The URL specified is no longer valid and should no longer be used
The URL specified is invalid and should not be used again
Maximum allowed payload size is 3800 characters
Could not initialize a TLS connection
Error in SSL signing
Error in reading a file
Make sure the message was addressed to a registration token whose package name matches the value passed in the request (Google).
The TTL value provided was not valid or was not provided
The request was missing required crypto keys
One or more of the crypto key elements are invalid.
Corrupted response data
Other(String)
Methods
impl WebPushError
[src]
pub fn short_description(&self) -> &'static str
[src]
Trait Implementations
impl Debug for WebPushError
[src]
impl Display for WebPushError
[src]
impl Error for WebPushError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<DecodeError> for WebPushError
[src]
fn from(_: DecodeError) -> WebPushError
[src]
impl From<Error> for WebPushError
[src]
fn from(_: JsonError) -> WebPushError
[src]
impl From<Error> for WebPushError
[src]
impl From<Error> for WebPushError
[src]
fn from(_: Error) -> WebPushError
[src]
impl From<Error> for WebPushError
[src]
fn from(_: IoError) -> WebPushError
[src]
impl From<ErrorStack> for WebPushError
[src]
fn from(_: ErrorStack) -> WebPushError
[src]
impl From<FromUtf8Error> for WebPushError
[src]
fn from(_: FromUtf8Error) -> WebPushError
[src]
impl From<InvalidUri> for WebPushError
[src]
fn from(_: InvalidUri) -> WebPushError
[src]
impl From<Unspecified> for WebPushError
[src]
fn from(_: Unspecified) -> WebPushError
[src]
impl PartialEq<WebPushError> for WebPushError
[src]
fn eq(&self, other: &WebPushError) -> bool
[src]
fn ne(&self, other: &WebPushError) -> bool
[src]
impl StructuralPartialEq for WebPushError
[src]
Auto Trait Implementations
impl RefUnwindSafe for WebPushError
impl Send for WebPushError
impl Sync for WebPushError
impl Unpin for WebPushError
impl UnwindSafe for WebPushError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,