pub enum MessagingErrorCode {
Show 14 variants
TokenDeletionFailed,
InvalidArgument,
Internal,
PermissionBlocked,
AvailableInWindow,
AvailableInServiceWorker,
UnsupportedBrowser,
FailedDefaultRegistration,
InvalidServiceWorkerRegistration,
TokenSubscribeFailed,
TokenUnsubscribeFailed,
TokenSubscribeNoToken,
TokenUpdateFailed,
TokenUpdateNoToken,
}Variants§
TokenDeletionFailed
InvalidArgument
Internal
PermissionBlocked
AvailableInWindow
AvailableInServiceWorker
UnsupportedBrowser
FailedDefaultRegistration
InvalidServiceWorkerRegistration
TokenSubscribeFailed
TokenUnsubscribeFailed
TokenSubscribeNoToken
TokenUpdateFailed
TokenUpdateNoToken
Implementations§
Trait Implementations§
Source§impl Clone for MessagingErrorCode
impl Clone for MessagingErrorCode
Source§fn clone(&self) -> MessagingErrorCode
fn clone(&self) -> MessagingErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessagingErrorCode
impl Debug for MessagingErrorCode
Source§impl PartialEq for MessagingErrorCode
impl PartialEq for MessagingErrorCode
impl Eq for MessagingErrorCode
impl StructuralPartialEq for MessagingErrorCode
Auto Trait Implementations§
impl Freeze for MessagingErrorCode
impl RefUnwindSafe for MessagingErrorCode
impl Send for MessagingErrorCode
impl Sync for MessagingErrorCode
impl Unpin for MessagingErrorCode
impl UnwindSafe for MessagingErrorCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.