pub struct StrictPriority;Expand description
Strict priority: always serve the highest-priority non-empty channel. Lower-priority channels may starve if higher ones never drain.
Trait Implementations§
Source§impl Clone for StrictPriority
impl Clone for StrictPriority
Source§fn clone(&self) -> StrictPriority
fn clone(&self) -> StrictPriority
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 Debug for StrictPriority
impl Debug for StrictPriority
Source§impl Default for StrictPriority
impl Default for StrictPriority
Source§fn default() -> StrictPriority
fn default() -> StrictPriority
Returns the “default value” for a type. Read more
Source§impl<Ctx> Scheduler<Ctx> for StrictPriority
impl<Ctx> Scheduler<Ctx> for StrictPriority
impl Copy for StrictPriority
Auto Trait Implementations§
impl Freeze for StrictPriority
impl RefUnwindSafe for StrictPriority
impl Send for StrictPriority
impl Sync for StrictPriority
impl Unpin for StrictPriority
impl UnsafeUnpin for StrictPriority
impl UnwindSafe for StrictPriority
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