pub struct MonitorsConfig {
pub active: bool,
pub execute: bool,
pub max_length_refill_monitor_views: usize,
}Expand description
Holds the configuration data for the monitors. The configuration is loaded from the .toml configuration file. This struct does not contain any implementation.
Fields§
§active: boolmonitors will only be active when the flag is set to true
execute: boolindicate if the thread shall be started or not
max_length_refill_monitor_views: usizeMaximum number of monitoring entries for refill
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MonitorsConfig
impl<'de> Deserialize<'de> for MonitorsConfig
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
Auto Trait Implementations§
impl Freeze for MonitorsConfig
impl RefUnwindSafe for MonitorsConfig
impl Send for MonitorsConfig
impl Sync for MonitorsConfig
impl Unpin for MonitorsConfig
impl UnwindSafe for MonitorsConfig
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