Struct axtask::SchedStatus
source · pub struct SchedStatus {
pub policy: SchedPolicy,
pub priority: usize,
}
Expand description
The status of the scheduler
Fields§
§policy: SchedPolicy
The policy of the scheduler
priority: usize
The priority of the scheduler policy
Trait Implementations§
source§impl Clone for SchedStatus
impl Clone for SchedStatus
source§fn clone(&self) -> SchedStatus
fn clone(&self) -> SchedStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SchedStatus
Auto Trait Implementations§
impl RefUnwindSafe for SchedStatus
impl Send for SchedStatus
impl Sync for SchedStatus
impl Unpin for SchedStatus
impl UnwindSafe for SchedStatus
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