#[non_exhaustive]pub struct ProcessMemoryMonitor {
pub frequency: Option<String>,
pub minor_event: Option<ProcessMemoryEvent>,
pub major_event: Option<ProcessMemoryEvent>,
pub critical_event: Option<ProcessMemoryEvent>,
}Expand description
The memory process block.
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.frequency: Option<String>How often usage is checked, e.g. minutes 5.
minor_event: Option<ProcessMemoryEvent>§major_event: Option<ProcessMemoryEvent>§critical_event: Option<ProcessMemoryEvent>Trait Implementations§
Source§impl Clone for ProcessMemoryMonitor
impl Clone for ProcessMemoryMonitor
Source§impl Debug for ProcessMemoryMonitor
impl Debug for ProcessMemoryMonitor
impl Eq for ProcessMemoryMonitor
Source§impl PartialEq for ProcessMemoryMonitor
impl PartialEq for ProcessMemoryMonitor
impl StructuralPartialEq for ProcessMemoryMonitor
Auto Trait Implementations§
impl Forget for ProcessMemoryMonitor
impl Freeze for ProcessMemoryMonitorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ProcessMemoryThreshold>: Freeze,
PhantomData<String>: Freeze,
impl Move for ProcessMemoryMonitor
impl RefUnwindSafe for ProcessMemoryMonitor
impl Send for ProcessMemoryMonitorwhere
RawVecInner: Send,
impl Sync for ProcessMemoryMonitorwhere
RawVecInner: Sync,
impl Unpin for ProcessMemoryMonitor
impl UnsafeUnpin for ProcessMemoryMonitorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProcessMemoryThreshold>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ProcessMemoryMonitorwhere
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