pub enum BufferRejection {
Full,
DroppedNewest,
}Expand description
Why an offered value was not accepted.
Variants§
Full
The configured policy rejects offers at capacity.
DroppedNewest
The configured policy explicitly selects the newest value for return.
Trait Implementations§
Source§impl Clone for BufferRejection
impl Clone for BufferRejection
Source§fn clone(&self) -> BufferRejection
fn clone(&self) -> BufferRejection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BufferRejection
impl Debug for BufferRejection
Source§impl Hash for BufferRejection
impl Hash for BufferRejection
Source§impl PartialEq for BufferRejection
impl PartialEq for BufferRejection
impl Copy for BufferRejection
impl Eq for BufferRejection
impl StructuralPartialEq for BufferRejection
Auto Trait Implementations§
impl Freeze for BufferRejection
impl RefUnwindSafe for BufferRejection
impl Send for BufferRejection
impl Sync for BufferRejection
impl Unpin for BufferRejection
impl UnsafeUnpin for BufferRejection
impl UnwindSafe for BufferRejection
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