pub enum OciLifecycleState {
Creating,
Created,
Running,
Stopped,
}Expand description
OCI container lifecycle states per the runtime-spec.
Variants§
Creating
Container bundle loaded, namespaces created, but process not started.
Created
Container created but user process not yet started (post-create hooks ran).
Running
Container process is running.
Stopped
Container process has exited.
Trait Implementations§
Source§impl Clone for OciLifecycleState
impl Clone for OciLifecycleState
Source§fn clone(&self) -> OciLifecycleState
fn clone(&self) -> OciLifecycleState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OciLifecycleState
impl Debug for OciLifecycleState
Source§impl Display for OciLifecycleState
impl Display for OciLifecycleState
Source§impl PartialEq for OciLifecycleState
impl PartialEq for OciLifecycleState
impl Copy for OciLifecycleState
impl Eq for OciLifecycleState
impl StructuralPartialEq for OciLifecycleState
Auto Trait Implementations§
impl Freeze for OciLifecycleState
impl RefUnwindSafe for OciLifecycleState
impl Send for OciLifecycleState
impl Sync for OciLifecycleState
impl Unpin for OciLifecycleState
impl UnwindSafe for OciLifecycleState
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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)