pub struct ContainerPidsStats {
pub current: Option<u64>,
pub limit: Option<u64>,
}Expand description
PidsStats contains Linux-specific stats of a container’s process-IDs (PIDs). This type is Linux-specific and omitted for Windows containers.
Fields§
§current: Option<u64>Current is the number of PIDs in the cgroup.
limit: Option<u64>Limit is the hard limit on the number of pids in the cgroup. A "Limit" of 0 means that there is no limit.
Trait Implementations§
Source§impl Clone for ContainerPidsStats
impl Clone for ContainerPidsStats
Source§fn clone(&self) -> ContainerPidsStats
fn clone(&self) -> ContainerPidsStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ContainerPidsStats
impl Debug for ContainerPidsStats
Source§impl Default for ContainerPidsStats
impl Default for ContainerPidsStats
Source§fn default() -> ContainerPidsStats
fn default() -> ContainerPidsStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerPidsStats
impl<'de> Deserialize<'de> for ContainerPidsStats
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContainerPidsStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContainerPidsStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContainerPidsStats
impl PartialEq for ContainerPidsStats
Source§impl Serialize for ContainerPidsStats
impl Serialize for ContainerPidsStats
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContainerPidsStats
Auto Trait Implementations§
impl Freeze for ContainerPidsStats
impl RefUnwindSafe for ContainerPidsStats
impl Send for ContainerPidsStats
impl Sync for ContainerPidsStats
impl Unpin for ContainerPidsStats
impl UnsafeUnpin for ContainerPidsStats
impl UnwindSafe for ContainerPidsStats
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