#[non_exhaustive]pub struct Monitor {
pub memory: Option<MemoryMonitor>,
pub traceoptions: Option<Traceoptions>,
}Expand description
The system monitor settings.
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.memory: Option<MemoryMonitor>§traceoptions: Option<Traceoptions>Trait Implementations§
impl Eq for Monitor
impl StructuralPartialEq for Monitor
Auto Trait Implementations§
impl Forget for Monitor
impl Freeze for Monitorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ProcessMemoryThreshold>: Freeze,
PhantomData<TraceFlag>: Freeze,
impl Move for Monitor
impl RefUnwindSafe for Monitor
impl Send for Monitorwhere
RawVecInner: Send,
impl Sync for Monitorwhere
RawVecInner: Sync,
impl Unpin for Monitor
impl UnsafeUnpin for Monitorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ProcessMemoryThreshold>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Monitorwhere
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