pub enum DispatchExecutionMode {
PlainLaunches,
PersistentKernel {
savings_ns: u128,
},
CommandReuse {
savings_ns: u128,
},
}Expand description
Mutually exclusive launch strategy selected from the dispatch-policy bundle.
Variants§
PlainLaunches
Plain launches remain cheapest for this batch.
PersistentKernel
Use persistent kernel mode.
CommandReuse
Use native command record/replay.
Trait Implementations§
Source§impl Clone for DispatchExecutionMode
impl Clone for DispatchExecutionMode
Source§fn clone(&self) -> DispatchExecutionMode
fn clone(&self) -> DispatchExecutionMode
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 moreimpl Copy for DispatchExecutionMode
Source§impl Debug for DispatchExecutionMode
impl Debug for DispatchExecutionMode
impl Eq for DispatchExecutionMode
Source§impl PartialEq for DispatchExecutionMode
impl PartialEq for DispatchExecutionMode
Source§fn eq(&self, other: &DispatchExecutionMode) -> bool
fn eq(&self, other: &DispatchExecutionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DispatchExecutionMode
Auto Trait Implementations§
impl Freeze for DispatchExecutionMode
impl RefUnwindSafe for DispatchExecutionMode
impl Send for DispatchExecutionMode
impl Sync for DispatchExecutionMode
impl Unpin for DispatchExecutionMode
impl UnsafeUnpin for DispatchExecutionMode
impl UnwindSafe for DispatchExecutionMode
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
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.