pub enum PushDeliveryStatus {
Accepted,
Delivered,
Rejected(PushRejection),
}Expand description
The delivery state a provider reported for one notification.
Variants§
Accepted
The provider took the notification but has not reported an outcome yet.
Providers confirm delivery asynchronously. Treat this as neither success nor failure and do not resend on it.
Delivered
The provider handed the notification to the device platform.
Rejected(PushRejection)
The provider refused the notification.
Trait Implementations§
Source§impl Clone for PushDeliveryStatus
impl Clone for PushDeliveryStatus
Source§fn clone(&self) -> PushDeliveryStatus
fn clone(&self) -> PushDeliveryStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PushDeliveryStatus
impl Debug for PushDeliveryStatus
impl Eq for PushDeliveryStatus
Source§impl PartialEq for PushDeliveryStatus
impl PartialEq for PushDeliveryStatus
impl StructuralPartialEq for PushDeliveryStatus
Auto Trait Implementations§
impl Freeze for PushDeliveryStatus
impl RefUnwindSafe for PushDeliveryStatus
impl Send for PushDeliveryStatus
impl Sync for PushDeliveryStatus
impl Unpin for PushDeliveryStatus
impl UnsafeUnpin for PushDeliveryStatus
impl UnwindSafe for PushDeliveryStatus
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§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.