#[non_exhaustive]pub enum SubtreeSource {
CgroupMemory,
ProcessSum,
Unavailable,
Unknown(String),
}Expand description
The measurement behind a module’s memory including child processes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SubtreeSource
impl Clone for SubtreeSource
Source§impl Debug for SubtreeSource
impl Debug for SubtreeSource
Source§impl<'de> Deserialize<'de> for SubtreeSource
impl<'de> Deserialize<'de> for SubtreeSource
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 SubtreeSource
Source§impl PartialEq for SubtreeSource
impl PartialEq for SubtreeSource
Source§impl Serialize for SubtreeSource
impl Serialize for SubtreeSource
impl StructuralPartialEq for SubtreeSource
Auto Trait Implementations§
impl Forget for SubtreeSource
impl Freeze for SubtreeSource
impl Move for SubtreeSource
impl RefUnwindSafe for SubtreeSource
impl Send for SubtreeSource
impl Sync for SubtreeSource
impl Unpin for SubtreeSource
impl UnsafeUnpin for SubtreeSource
impl UnwindSafe for SubtreeSource
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