pub struct QueuedCommand {
pub id: u64,
pub label: String,
pub priority: CommandPriority,
pub sequence: u64,
}Expand description
A single command waiting in the queue.
Fields§
§id: u64Unique id assigned at enqueue time.
label: StringHuman-readable label.
priority: CommandPriorityPriority tier.
sequence: u64Monotonic sequence number for FIFO within same priority.
Trait Implementations§
Source§impl Clone for QueuedCommand
impl Clone for QueuedCommand
Source§fn clone(&self) -> QueuedCommand
fn clone(&self) -> QueuedCommand
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 moreAuto Trait Implementations§
impl Freeze for QueuedCommand
impl RefUnwindSafe for QueuedCommand
impl Send for QueuedCommand
impl Sync for QueuedCommand
impl Unpin for QueuedCommand
impl UnsafeUnpin for QueuedCommand
impl UnwindSafe for QueuedCommand
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