pub enum BufferOverflowPolicy {
Drop,
Block,
Raise,
}Expand description
The agent buffer overflow posture (the reference
Literal['drop', 'block', 'raise']), None defers to the agent’s own
default.
Variants§
Drop
drop: discard the oldest entry.
Block
block: backpressure the caller.
Raise
raise: surface the overflow.
Implementations§
Trait Implementations§
Source§impl Clone for BufferOverflowPolicy
impl Clone for BufferOverflowPolicy
impl Copy for BufferOverflowPolicy
Source§impl Debug for BufferOverflowPolicy
impl Debug for BufferOverflowPolicy
impl Eq for BufferOverflowPolicy
Source§impl PartialEq for BufferOverflowPolicy
impl PartialEq for BufferOverflowPolicy
impl StructuralPartialEq for BufferOverflowPolicy
Auto Trait Implementations§
impl Freeze for BufferOverflowPolicy
impl RefUnwindSafe for BufferOverflowPolicy
impl Send for BufferOverflowPolicy
impl Sync for BufferOverflowPolicy
impl Unpin for BufferOverflowPolicy
impl UnsafeUnpin for BufferOverflowPolicy
impl UnwindSafe for BufferOverflowPolicy
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.