pub enum ProcessRingPush<T> {
Accepted,
DroppedNewest(T),
Closed(T),
}Expand description
Push result for the bounded process-site ring.
Variants§
Accepted
The item was stored in the ring.
DroppedNewest(T)
The ring was full; the rejected item is returned.
Closed(T)
The ring was closed; the rejected item is returned.
Trait Implementations§
Source§impl<T: Clone> Clone for ProcessRingPush<T>
impl<T: Clone> Clone for ProcessRingPush<T>
Source§fn clone(&self) -> ProcessRingPush<T>
fn clone(&self) -> ProcessRingPush<T>
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 moreSource§impl<T: Debug> Debug for ProcessRingPush<T>
impl<T: Debug> Debug for ProcessRingPush<T>
impl<T: Eq> Eq for ProcessRingPush<T>
Source§impl<T: PartialEq> PartialEq for ProcessRingPush<T>
impl<T: PartialEq> PartialEq for ProcessRingPush<T>
Source§fn eq(&self, other: &ProcessRingPush<T>) -> bool
fn eq(&self, other: &ProcessRingPush<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: PartialEq> StructuralPartialEq for ProcessRingPush<T>
Auto Trait Implementations§
impl<T> Freeze for ProcessRingPush<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProcessRingPush<T>where
T: RefUnwindSafe,
impl<T> Send for ProcessRingPush<T>where
T: Send,
impl<T> Sync for ProcessRingPush<T>where
T: Sync,
impl<T> Unpin for ProcessRingPush<T>where
T: Unpin,
impl<T> UnsafeUnpin for ProcessRingPush<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ProcessRingPush<T>where
T: UnwindSafe,
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