pub struct ScheduledDispatchPolicy;Expand description
Schedule-following dispatch policy with optional active-vehicle caps.
Trait Implementations§
Source§impl Clone for ScheduledDispatchPolicy
impl Clone for ScheduledDispatchPolicy
Source§fn clone(&self) -> ScheduledDispatchPolicy
fn clone(&self) -> ScheduledDispatchPolicy
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 Debug for ScheduledDispatchPolicy
impl Debug for ScheduledDispatchPolicy
Source§impl Default for ScheduledDispatchPolicy
impl Default for ScheduledDispatchPolicy
Source§fn default() -> ScheduledDispatchPolicy
fn default() -> ScheduledDispatchPolicy
Returns the “default value” for a type. Read more
Source§impl DispatchPolicy for ScheduledDispatchPolicy
impl DispatchPolicy for ScheduledDispatchPolicy
Source§fn decide(&self, context: DispatchContext<'_>) -> DispatchDecision
fn decide(&self, context: DispatchContext<'_>) -> DispatchDecision
Return the dispatch decision for
context.Source§impl PartialEq for ScheduledDispatchPolicy
impl PartialEq for ScheduledDispatchPolicy
impl Copy for ScheduledDispatchPolicy
impl Eq for ScheduledDispatchPolicy
impl StructuralPartialEq for ScheduledDispatchPolicy
Auto Trait Implementations§
impl Freeze for ScheduledDispatchPolicy
impl RefUnwindSafe for ScheduledDispatchPolicy
impl Send for ScheduledDispatchPolicy
impl Sync for ScheduledDispatchPolicy
impl Unpin for ScheduledDispatchPolicy
impl UnsafeUnpin for ScheduledDispatchPolicy
impl UnwindSafe for ScheduledDispatchPolicy
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