pub enum AdvanceOutcome<T>where
T: Copy,{
Empty,
Pending,
Expired(T),
}Expand description
Result of advancing the command lifetime by a validated simulation delta.
Variants§
Empty
There was no pending command.
Pending
The command remains pending; inspect it without consuming via the buffer.
Expired(T)
This value expired and was removed by this operation.
Trait Implementations§
Source§impl<T> Clone for AdvanceOutcome<T>
impl<T> Clone for AdvanceOutcome<T>
Source§fn clone(&self) -> AdvanceOutcome<T>
fn clone(&self) -> AdvanceOutcome<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 AdvanceOutcome<T>
impl<T> Debug for AdvanceOutcome<T>
Source§impl<T> PartialEq for AdvanceOutcome<T>
impl<T> PartialEq for AdvanceOutcome<T>
impl<T> Copy for AdvanceOutcome<T>where
T: Copy,
impl<T> Eq for AdvanceOutcome<T>
impl<T> StructuralPartialEq for AdvanceOutcome<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for AdvanceOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for AdvanceOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for AdvanceOutcome<T>where
T: Send,
impl<T> Sync for AdvanceOutcome<T>where
T: Sync,
impl<T> Unpin for AdvanceOutcome<T>where
T: Unpin,
impl<T> UnwindSafe for AdvanceOutcome<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