pub enum PushResult {
Inserted,
AlreadyPresent,
}Expand description
Result of attempting to enqueue a value.
Variants§
Inserted
The value was inserted into the queue.
AlreadyPresent
The value was already present and was not enqueued again.
Trait Implementations§
Source§impl Clone for PushResult
impl Clone for PushResult
Source§fn clone(&self) -> PushResult
fn clone(&self) -> PushResult
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 PushResult
impl Debug for PushResult
Source§impl PartialEq for PushResult
impl PartialEq for PushResult
impl Copy for PushResult
impl Eq for PushResult
impl StructuralPartialEq for PushResult
Auto Trait Implementations§
impl Freeze for PushResult
impl RefUnwindSafe for PushResult
impl Send for PushResult
impl Sync for PushResult
impl Unpin for PushResult
impl UnwindSafe for PushResult
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