pub enum PushDeliveryStatus {
Accepted(PushTicketId),
Delivered,
Rejected(PushRejection),
}Expand description
The delivery state a provider reported for one notification.
Variants§
Accepted(PushTicketId)
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. Record the ticket with
PendingReceiptStore::record_accepted
to poll its receipt later.
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§impl Debug for PushDeliveryStatus
impl Debug for PushDeliveryStatus
impl Eq for PushDeliveryStatus
Source§impl From<PushReceipt> for PushDeliveryStatus
impl From<PushReceipt> for PushDeliveryStatus
Source§fn from(receipt: PushReceipt) -> Self
fn from(receipt: PushReceipt) -> Self
Converts to this type from the input type.
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.