pub struct ContainerIdentity {
pub runtime: ContainerRuntime,
pub id: Box<str>,
pub kubernetes: bool,
}Expand description
A container identified from a cgroup path.
Fields§
§runtime: ContainerRuntimeWhich convention matched.
id: Box<str>The identifier the path carried, usually a 64-character hex digest.
kubernetes: boolWhether the path also names a Kubernetes pod.
Implementations§
Trait Implementations§
Source§impl Clone for ContainerIdentity
impl Clone for ContainerIdentity
Source§fn clone(&self) -> ContainerIdentity
fn clone(&self) -> ContainerIdentity
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 ContainerIdentity
impl Debug for ContainerIdentity
impl Eq for ContainerIdentity
Source§impl PartialEq for ContainerIdentity
impl PartialEq for ContainerIdentity
impl StructuralPartialEq for ContainerIdentity
Auto Trait Implementations§
impl Freeze for ContainerIdentity
impl RefUnwindSafe for ContainerIdentity
impl Send for ContainerIdentity
impl Sync for ContainerIdentity
impl Unpin for ContainerIdentity
impl UnsafeUnpin for ContainerIdentity
impl UnwindSafe for ContainerIdentity
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