pub enum KernelLifecycle {
Created,
Configured,
Running,
Suspended,
Completed,
Cancelled,
Failed,
}Variants§
Implementations§
Source§impl KernelLifecycle
impl KernelLifecycle
pub fn is_terminal(self) -> bool
Trait Implementations§
Source§impl Clone for KernelLifecycle
impl Clone for KernelLifecycle
Source§fn clone(&self) -> KernelLifecycle
fn clone(&self) -> KernelLifecycle
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 KernelLifecycle
Source§impl Debug for KernelLifecycle
impl Debug for KernelLifecycle
Source§impl<'de> Deserialize<'de> for KernelLifecycle
impl<'de> Deserialize<'de> for KernelLifecycle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KernelLifecycle
Source§impl PartialEq for KernelLifecycle
impl PartialEq for KernelLifecycle
Source§impl Serialize for KernelLifecycle
impl Serialize for KernelLifecycle
impl StructuralPartialEq for KernelLifecycle
Auto Trait Implementations§
impl Freeze for KernelLifecycle
impl RefUnwindSafe for KernelLifecycle
impl Send for KernelLifecycle
impl Sync for KernelLifecycle
impl Unpin for KernelLifecycle
impl UnsafeUnpin for KernelLifecycle
impl UnwindSafe for KernelLifecycle
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