#[repr(u8)]pub enum StopReason {
None = 0,
Cap = 1,
Clock = 2,
Write = 3,
ShortWrite = 4,
Interrupted = 5,
ScopeOrder = 6,
Reentrant = 7,
Abandoned = 8,
OpenScopes = 9,
CounterOverflow = 10,
}Expand description
First reason publication was disabled; language evaluation is unaffected.
Variants§
None = 0
No telemetry failure; an explicit terminal may still have closed it.
Cap = 1
The bounded stream used its reserved terminal slot.
Clock = 2
The monotonic clock failed, overflowed, or moved backwards.
Write = 3
A write failed with an error other than an exhausted EINTR allowance.
ShortWrite = 4
A write produced fewer bytes than one complete record.
Interrupted = 5
EINTR persisted beyond the bounded retry allowance.
ScopeOrder = 6
A scope transitioned or ended while another scope was current.
Reentrant = 7
Publication was recursively attempted while already publishing.
Abandoned = 8
The sink guard was dropped without explicit closure.
OpenScopes = 9
Explicit sink closure occurred with scopes still open.
CounterOverflow = 10
A sequence, scope ID, or depth counter could not be advanced safely.
Trait Implementations§
Source§impl Clone for StopReason
impl Clone for StopReason
impl Copy for StopReason
Source§impl Debug for StopReason
impl Debug for StopReason
impl Eq for StopReason
Source§impl PartialEq for StopReason
impl PartialEq for StopReason
Source§impl Serialize for StopReason
impl Serialize for StopReason
impl StructuralPartialEq for StopReason
Auto Trait Implementations§
impl Forget for StopReason
impl Freeze for StopReason
impl Move for StopReason
impl RefUnwindSafe for StopReason
impl Send for StopReason
impl Sync for StopReason
impl Unpin for StopReason
impl UnsafeUnpin for StopReason
impl UnwindSafe for StopReason
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.