Struct task::scheduler::PriorityInheritanceGuard
source · pub struct PriorityInheritanceGuard<'a> { /* private fields */ }
Expand description
A guard that lowers a task’s priority back to its previous value when dropped.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PriorityInheritanceGuard<'a>
impl<'a> Send for PriorityInheritanceGuard<'a>
impl<'a> Sync for PriorityInheritanceGuard<'a>
impl<'a> Unpin for PriorityInheritanceGuard<'a>
impl<'a> !UnwindSafe for PriorityInheritanceGuard<'a>
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