pub enum BackendFlushReason {
Capacity,
ProtocolBarrier,
Explicit,
Teardown,
}Expand description
Reason retained backend messages are offered to batch policy.
Variants§
Capacity
A configured message or byte limit was reached.
ProtocolBarrier
A protocol boundary must follow the held span.
Explicit
The application requested a latency or batch boundary.
Teardown
The connection is being deliberately torn down.
Trait Implementations§
Source§impl Clone for BackendFlushReason
impl Clone for BackendFlushReason
Source§fn clone(&self) -> BackendFlushReason
fn clone(&self) -> BackendFlushReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendFlushReason
Source§impl Debug for BackendFlushReason
impl Debug for BackendFlushReason
impl Eq for BackendFlushReason
Source§impl PartialEq for BackendFlushReason
impl PartialEq for BackendFlushReason
impl StructuralPartialEq for BackendFlushReason
Auto Trait Implementations§
impl Freeze for BackendFlushReason
impl RefUnwindSafe for BackendFlushReason
impl Send for BackendFlushReason
impl Sync for BackendFlushReason
impl Unpin for BackendFlushReason
impl UnsafeUnpin for BackendFlushReason
impl UnwindSafe for BackendFlushReason
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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