pub struct TrackerConfig<'a> {
pub enable: bool,
pub level: Level,
pub filter_regex: &'a str,
pub file: Option<&'a str>,
}Expand description
Configuration options for an individual tracker.
Fields§
§enable: boolEnable this tracker.
level: LevelSet the level at which this tracker should be enabled.
filter_regex: &'a strA regular expression to match which entities should have this level applied.
file: Option<&'a str>If required, the name of the file to which the tracker will write.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TrackerConfig<'a>
impl<'a> RefUnwindSafe for TrackerConfig<'a>
impl<'a> Send for TrackerConfig<'a>
impl<'a> Sync for TrackerConfig<'a>
impl<'a> Unpin for TrackerConfig<'a>
impl<'a> UnsafeUnpin for TrackerConfig<'a>
impl<'a> UnwindSafe for TrackerConfig<'a>
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