pub enum PushOutcome<T>where
T: Copy,{
Queued,
Replaced(T),
}Expand description
Result of admitting a fresh edge into the single command slot.
Variants§
Queued
The empty slot now holds the supplied command for a full lifetime.
Replaced(T)
The supplied command replaced this old value and reset the lifetime.
Trait Implementations§
Source§impl<T> Clone for PushOutcome<T>
impl<T> Clone for PushOutcome<T>
Source§fn clone(&self) -> PushOutcome<T>
fn clone(&self) -> PushOutcome<T>
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<T> Debug for PushOutcome<T>
impl<T> Debug for PushOutcome<T>
Source§impl<T> PartialEq for PushOutcome<T>
impl<T> PartialEq for PushOutcome<T>
impl<T> Copy for PushOutcome<T>where
T: Copy,
impl<T> Eq for PushOutcome<T>
impl<T> StructuralPartialEq for PushOutcome<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for PushOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for PushOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for PushOutcome<T>where
T: Send,
impl<T> Sync for PushOutcome<T>where
T: Sync,
impl<T> Unpin for PushOutcome<T>where
T: Unpin,
impl<T> UnwindSafe for PushOutcome<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