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