#[repr(u32)]pub enum EnvStatus {
Free = 0,
Runnable = 1,
NotRunnable = 2,
}Expand description
The env status enum. Compatible with the C-Like memory structure.
Variants§
Free = 0
The env is not used (free).
Runnable = 1
The env is running or to be run.
NotRunnable = 2
The env is blocked.
Trait Implementations§
impl Copy for EnvStatus
impl StructuralPartialEq for EnvStatus
Auto Trait Implementations§
impl Freeze for EnvStatus
impl RefUnwindSafe for EnvStatus
impl Send for EnvStatus
impl Sync for EnvStatus
impl Unpin for EnvStatus
impl UnwindSafe for EnvStatus
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)