#[non_exhaustive]pub struct ProcessMemoryEvent {
pub thresholds: Vec<ProcessMemoryThreshold>,
pub actions: Vec<String>,
}Expand description
A minor-event, major-event or critical-event of the process-level memory monitor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.thresholds: Vec<ProcessMemoryThreshold>§actions: Vec<String>e.g. snmp-trap, live-core, terminate-process, terminate-process-force.
Trait Implementations§
Source§impl Clone for ProcessMemoryEvent
impl Clone for ProcessMemoryEvent
Source§impl Debug for ProcessMemoryEvent
impl Debug for ProcessMemoryEvent
impl Eq for ProcessMemoryEvent
Source§impl PartialEq for ProcessMemoryEvent
impl PartialEq for ProcessMemoryEvent
impl StructuralPartialEq for ProcessMemoryEvent
Auto Trait Implementations§
impl Forget for ProcessMemoryEvent
impl Freeze for ProcessMemoryEventwhere
*const u8 is !null: Freeze,
PhantomData<ProcessMemoryThreshold>: Freeze,
PhantomData<String>: Freeze,
impl Move for ProcessMemoryEvent
impl RefUnwindSafe for ProcessMemoryEvent
impl Send for ProcessMemoryEventwhere
RawVecInner: Send,
impl Sync for ProcessMemoryEventwhere
RawVecInner: Sync,
impl Unpin for ProcessMemoryEvent
impl UnsafeUnpin for ProcessMemoryEventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ProcessMemoryThreshold>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ProcessMemoryEventwhere
RawVecInner: UnwindSafe,
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