#[non_exhaustive]pub enum EventScope {
Cgroup,
Host,
}Expand description
What MemoryEvents count.
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 EventScope
impl Clone for EventScope
impl Copy for EventScope
Source§impl Debug for EventScope
impl Debug for EventScope
Source§impl Default for EventScope
impl Default for EventScope
impl Eq for EventScope
Source§impl Hash for EventScope
impl Hash for EventScope
Source§impl PartialEq for EventScope
impl PartialEq for EventScope
impl StructuralPartialEq for EventScope
Auto Trait Implementations§
impl Forget for EventScope
impl Freeze for EventScope
impl RefUnwindSafe for EventScope
impl Send for EventScope
impl Sync for EventScope
impl Unpin for EventScope
impl UnsafeUnpin for EventScope
impl UnwindSafe for EventScope
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