pub enum CloseReason {
Consumed,
Aborted,
Expired,
ExpiryTimerFired,
}Expand description
Whether the caller consumed the ticket or processed its expiry.
Variants§
Consumed
Keep the timer for the expiry handler’s missing-ticket no-op.
Aborted
A lost pack is terminal; keep the timer for the same missing-ticket no-op.
Expired
Remove the timer along with the ticket.
ExpiryTimerFired
The timer core removes the fired expiry row with the same batch.
Trait Implementations§
Source§impl Clone for CloseReason
impl Clone for CloseReason
impl Copy for CloseReason
Source§impl Debug for CloseReason
impl Debug for CloseReason
impl Eq for CloseReason
Source§impl PartialEq for CloseReason
impl PartialEq for CloseReason
impl StructuralPartialEq for CloseReason
Auto Trait Implementations§
impl Freeze for CloseReason
impl RefUnwindSafe for CloseReason
impl Send for CloseReason
impl Sync for CloseReason
impl Unpin for CloseReason
impl UnsafeUnpin for CloseReason
impl UnwindSafe for CloseReason
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