pub struct SchedulerCommand<C> {
pub dp_rank: u32,
pub command: C,
}Expand description
A command addressed to one attention-DP rank.
Fields§
§dp_rank: u32Target attention-DP rank.
command: CRank-engine-specific, runtime-neutral command payload.
Implementations§
Trait Implementations§
Source§impl<C: Clone> Clone for SchedulerCommand<C>
impl<C: Clone> Clone for SchedulerCommand<C>
Source§fn clone(&self) -> SchedulerCommand<C>
fn clone(&self) -> SchedulerCommand<C>
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<C: Debug> Debug for SchedulerCommand<C>
impl<C: Debug> Debug for SchedulerCommand<C>
impl<C: Eq> Eq for SchedulerCommand<C>
Source§impl<C: PartialEq> PartialEq for SchedulerCommand<C>
impl<C: PartialEq> PartialEq for SchedulerCommand<C>
impl<C: PartialEq> StructuralPartialEq for SchedulerCommand<C>
Auto Trait Implementations§
impl<C> Freeze for SchedulerCommand<C>where
C: Freeze,
impl<C> RefUnwindSafe for SchedulerCommand<C>where
C: RefUnwindSafe,
impl<C> Send for SchedulerCommand<C>where
C: Send,
impl<C> Sync for SchedulerCommand<C>where
C: Sync,
impl<C> Unpin for SchedulerCommand<C>where
C: Unpin,
impl<C> UnsafeUnpin for SchedulerCommand<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for SchedulerCommand<C>where
C: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.