#[non_exhaustive]#[repr(i32)]pub enum ModuleStatus {
Unloaded = 0,
Terminated = 1,
Ready = 2,
}
Expand description
Status of a module.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ModuleStatus
impl Clone for ModuleStatus
Source§fn clone(&self) -> ModuleStatus
fn clone(&self) -> ModuleStatus
Returns a duplicate 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 moreSource§impl Debug for ModuleStatus
impl Debug for ModuleStatus
Source§impl Ord for ModuleStatus
impl Ord for ModuleStatus
Source§fn cmp(&self, other: &ModuleStatus) -> Ordering
fn cmp(&self, other: &ModuleStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModuleStatus
impl PartialEq for ModuleStatus
Source§impl PartialOrd for ModuleStatus
impl PartialOrd for ModuleStatus
impl Copy for ModuleStatus
impl Eq for ModuleStatus
impl StructuralPartialEq for ModuleStatus
Auto Trait Implementations§
impl Freeze for ModuleStatus
impl RefUnwindSafe for ModuleStatus
impl Send for ModuleStatus
impl Sync for ModuleStatus
impl Unpin for ModuleStatus
impl UnwindSafe for ModuleStatus
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