pub struct EventDeliveryAttempt(/* private fields */);Expand description
One attempt number in the closed range 1..=10.
Implementations§
Source§impl EventDeliveryAttempt
impl EventDeliveryAttempt
Sourcepub const fn checked_next(self) -> Option<Self>
pub const fn checked_next(self) -> Option<Self>
Advances while another attempt remains.
Trait Implementations§
Source§impl Clone for EventDeliveryAttempt
impl Clone for EventDeliveryAttempt
impl Copy for EventDeliveryAttempt
Source§impl Debug for EventDeliveryAttempt
impl Debug for EventDeliveryAttempt
impl Eq for EventDeliveryAttempt
Source§impl Hash for EventDeliveryAttempt
impl Hash for EventDeliveryAttempt
Source§impl Ord for EventDeliveryAttempt
impl Ord for EventDeliveryAttempt
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EventDeliveryAttempt
impl PartialEq for EventDeliveryAttempt
Source§impl PartialOrd for EventDeliveryAttempt
impl PartialOrd for EventDeliveryAttempt
impl StructuralPartialEq for EventDeliveryAttempt
Auto Trait Implementations§
impl Freeze for EventDeliveryAttempt
impl RefUnwindSafe for EventDeliveryAttempt
impl Send for EventDeliveryAttempt
impl Sync for EventDeliveryAttempt
impl Unpin for EventDeliveryAttempt
impl UnsafeUnpin for EventDeliveryAttempt
impl UnwindSafe for EventDeliveryAttempt
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