#[non_exhaustive]pub enum TreeSource {
Cgroup,
Job,
ProcessTree,
Unknown(String),
}Expand description
The measurement behind cumulative tree resources.
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 TreeSource
impl Clone for TreeSource
Source§impl Debug for TreeSource
impl Debug for TreeSource
Source§impl<'de> Deserialize<'de> for TreeSource
impl<'de> Deserialize<'de> for TreeSource
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 TreeSource
Source§impl PartialEq for TreeSource
impl PartialEq for TreeSource
Source§impl Serialize for TreeSource
impl Serialize for TreeSource
impl StructuralPartialEq for TreeSource
Auto Trait Implementations§
impl Forget for TreeSource
impl Freeze for TreeSource
impl Move for TreeSource
impl RefUnwindSafe for TreeSource
impl Send for TreeSource
impl Sync for TreeSource
impl Unpin for TreeSource
impl UnsafeUnpin for TreeSource
impl UnwindSafe for TreeSource
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