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
impl Copy for StrictPriority
Source§impl Debug for StrictPriority
impl Debug for StrictPriority
Source§impl Default for StrictPriority
impl Default 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