Skip to main content

scouter_types/
traits.rs

1pub trait ScouterRecordExt {
2    /// helper for masking sensitive data from the record when
3    /// return to the user.
4    fn mask_sensitive_data(&mut self);
5}
6
7pub trait ConfigExt {
8    fn space(&self) -> &str;
9    fn name(&self) -> &str;
10    fn uid(&self) -> &str;
11    fn version(&self) -> &str;
12}