pub enum PushOutcome {
Accepted,
DroppedOldestBestEffort,
}Expand description
Outcome of a queue push.
Variants§
Accepted
Event was accepted without dropping another event.
DroppedOldestBestEffort
A best-effort event was dropped to admit the new one.
Trait Implementations§
Source§impl Clone for PushOutcome
impl Clone for PushOutcome
Source§fn clone(&self) -> PushOutcome
fn clone(&self) -> PushOutcome
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 PushOutcome
Source§impl Debug for PushOutcome
impl Debug for PushOutcome
impl Eq for PushOutcome
Source§impl PartialEq for PushOutcome
impl PartialEq for PushOutcome
impl StructuralPartialEq for PushOutcome
Auto Trait Implementations§
impl Freeze for PushOutcome
impl RefUnwindSafe for PushOutcome
impl Send for PushOutcome
impl Sync for PushOutcome
impl Unpin for PushOutcome
impl UnsafeUnpin for PushOutcome
impl UnwindSafe for PushOutcome
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