pub struct OciContainerState {
pub oci_version: String,
pub id: String,
pub status: OciStatus,
pub pid: u32,
pub bundle: String,
}Expand description
Container state JSON passed to OCI hooks on stdin.
Spec: https://github.com/opencontainers/runtime-spec/blob/main/runtime.md#state
Fields§
§oci_version: String§id: String§status: OciStatus§pid: u32§bundle: StringTrait Implementations§
Source§impl Clone for OciContainerState
impl Clone for OciContainerState
Source§fn clone(&self) -> OciContainerState
fn clone(&self) -> OciContainerState
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 moreSource§impl Debug for OciContainerState
impl Debug for OciContainerState
Auto Trait Implementations§
impl Freeze for OciContainerState
impl RefUnwindSafe for OciContainerState
impl Send for OciContainerState
impl Sync for OciContainerState
impl Unpin for OciContainerState
impl UnsafeUnpin for OciContainerState
impl UnwindSafe for OciContainerState
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