pub enum PushMode {
DeliverOk,
NotConfigured,
Unregistered,
Transient,
}Expand description
How a FakePush responds, mirroring MailerMode for the push port.
Variants§
DeliverOk
Accept and record the notification.
NotConfigured
Report the adapter is not configured (no key).
Unregistered
Report the device token is dead (APNs 410): the caller prunes it.
Transient
A retryable failure.
Trait Implementations§
impl Copy for PushMode
impl Eq for PushMode
impl StructuralPartialEq for PushMode
Auto Trait Implementations§
impl Freeze for PushMode
impl RefUnwindSafe for PushMode
impl Send for PushMode
impl Sync for PushMode
impl Unpin for PushMode
impl UnsafeUnpin for PushMode
impl UnwindSafe for PushMode
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.