pub enum LossReason {
Shed,
Rejected,
Unreachable,
Shutdown,
}Expand description
Why an outbox item was lost, the reason label of
outbox_events_lost_total.
Variants§
Shed
Refused at an unreserved staging limit.
Rejected
Consumed by the sink without being written: a terminal refusal or an item that could not be encoded, which no retry could cure.
Unreachable
The process reaches no destination to write to.
Shutdown
Staged after shutdown began, or still unwritten at its deadline.
Implementations§
Trait Implementations§
Source§impl Clone for LossReason
impl Clone for LossReason
impl Copy for LossReason
Source§impl Debug for LossReason
impl Debug for LossReason
impl Eq for LossReason
Source§impl PartialEq for LossReason
impl PartialEq for LossReason
impl StructuralPartialEq for LossReason
Auto Trait Implementations§
impl Freeze for LossReason
impl RefUnwindSafe for LossReason
impl Send for LossReason
impl Sync for LossReason
impl Unpin for LossReason
impl UnsafeUnpin for LossReason
impl UnwindSafe for LossReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.