pub enum WebPushConfigError {
Vapid(VapidError),
Ece(EceError),
}Expand description
Building a WebPush adapter failed.
Variants§
Vapid(VapidError)
The VAPID key or subject was not usable.
Ece(EceError)
The record size was outside RFC 8188’s bounds.
Trait Implementations§
Source§impl Debug for WebPushConfigError
impl Debug for WebPushConfigError
Source§impl Display for WebPushConfigError
impl Display for WebPushConfigError
Source§impl Error for WebPushConfigError
impl Error for WebPushConfigError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<EceError> for WebPushConfigError
impl From<EceError> for WebPushConfigError
Source§impl From<VapidError> for WebPushConfigError
impl From<VapidError> for WebPushConfigError
Source§fn from(source: VapidError) -> Self
fn from(source: VapidError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebPushConfigError
impl RefUnwindSafe for WebPushConfigError
impl Send for WebPushConfigError
impl Sync for WebPushConfigError
impl Unpin for WebPushConfigError
impl UnsafeUnpin for WebPushConfigError
impl UnwindSafe for WebPushConfigError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more