pub struct UrgencyBasedPolicy;Expand description
Default attention policy based on signal urgency.
Trait Implementations§
Source§impl AttentionPolicy for UrgencyBasedPolicy
impl AttentionPolicy for UrgencyBasedPolicy
fn evaluate( &self, signal: &RuntimeSignal, is_running: bool, ) -> SignalDisposition
Auto Trait Implementations§
impl Freeze for UrgencyBasedPolicy
impl RefUnwindSafe for UrgencyBasedPolicy
impl Send for UrgencyBasedPolicy
impl Sync for UrgencyBasedPolicy
impl Unpin for UrgencyBasedPolicy
impl UnsafeUnpin for UrgencyBasedPolicy
impl UnwindSafe for UrgencyBasedPolicy
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