Enum bern_kernel::exec::runnable::Transition
source · [−]#[repr(u8)]
pub enum Transition {
None,
Sleeping,
Blocked,
Resuming,
Terminating,
}
Expand description
Transition for next context switch
Variants
None
No transition
Sleeping
Task is going into sleep mode
Blocked
Task es beeing blocked and waiting for an event
Resuming
Resume suspended task
Terminating
Terminate task
Trait Implementations
sourceimpl Clone for Transition
impl Clone for Transition
sourcefn clone(&self) -> Transition
fn clone(&self) -> Transition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<Transition> for Transition
impl PartialEq<Transition> for Transition
impl Copy for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more