Struct kernel::scheduler::mlfq::MLFQProcessNode
source · pub struct MLFQProcessNode<'a> { /* private fields */ }
Expand description
Nodes store per-process state
Implementations§
source§impl<'a> MLFQProcessNode<'a>
impl<'a> MLFQProcessNode<'a>
pub fn new(proc: &'static Option<&'static dyn Process>) -> MLFQProcessNode<'a>
Trait Implementations§
source§impl<'a> ListNode<'a, MLFQProcessNode<'a>> for MLFQProcessNode<'a>
impl<'a> ListNode<'a, MLFQProcessNode<'a>> for MLFQProcessNode<'a>
fn next(&'a self) -> &'a ListLink<'a, MLFQProcessNode<'a>>
Auto Trait Implementations§
impl<'a> !Freeze for MLFQProcessNode<'a>
impl<'a> !RefUnwindSafe for MLFQProcessNode<'a>
impl<'a> !Send for MLFQProcessNode<'a>
impl<'a> !Sync for MLFQProcessNode<'a>
impl<'a> Unpin for MLFQProcessNode<'a>
impl<'a> !UnwindSafe for MLFQProcessNode<'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