pub struct MemorySamplingState {
pub process: CapabilityStatus,
pub system: CapabilityStatus,
pub cgroup: CapabilityStatus,
}Expand description
State of memory sampling capabilities.
Fields§
§process: CapabilityStatusProcess-level memory sampling.
system: CapabilityStatusSystem-level memory sampling.
cgroup: CapabilityStatusCgroup-level memory sampling.
Trait Implementations§
Source§impl Clone for MemorySamplingState
impl Clone for MemorySamplingState
Source§fn clone(&self) -> MemorySamplingState
fn clone(&self) -> MemorySamplingState
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 MemorySamplingState
impl Debug for MemorySamplingState
Source§impl Default for MemorySamplingState
impl Default for MemorySamplingState
Source§fn default() -> MemorySamplingState
fn default() -> MemorySamplingState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemorySamplingState
impl<'de> Deserialize<'de> for MemorySamplingState
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 MemorySamplingState
Source§impl PartialEq for MemorySamplingState
impl PartialEq for MemorySamplingState
Source§impl Serialize for MemorySamplingState
impl Serialize for MemorySamplingState
impl StructuralPartialEq for MemorySamplingState
Auto Trait Implementations§
impl Freeze for MemorySamplingState
impl RefUnwindSafe for MemorySamplingState
impl Send for MemorySamplingState
impl Sync for MemorySamplingState
impl Unpin for MemorySamplingState
impl UnsafeUnpin for MemorySamplingState
impl UnwindSafe for MemorySamplingState
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