pub enum ModuleState {
Live,
Coming,
Going,
Unformed,
Unknown(u32),
}Expand description
State of a kernel module.
Variants§
Live
MODULE_STATE_LIVE.
Coming
MODULE_STATE_COMING.
Going
MODULE_STATE_GOING.
Unformed
MODULE_STATE_UNFORMED.
Unknown(u32)
Unknown state.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleState
impl Clone for ModuleState
Source§fn clone(&self) -> ModuleState
fn clone(&self) -> ModuleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModuleState
Source§impl Debug for ModuleState
impl Debug for ModuleState
Source§impl Display for ModuleState
impl Display for ModuleState
impl Eq for ModuleState
Source§impl PartialEq for ModuleState
impl PartialEq for ModuleState
Source§fn eq(&self, other: &ModuleState) -> bool
fn eq(&self, other: &ModuleState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleState
Auto Trait Implementations§
impl Freeze for ModuleState
impl RefUnwindSafe for ModuleState
impl Send for ModuleState
impl Sync for ModuleState
impl Unpin for ModuleState
impl UnsafeUnpin for ModuleState
impl UnwindSafe for ModuleState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.