pub struct Sheet { /* private fields */ }Expand description
Everything a report must not carry out of a machine, and what to put in its place.
Implementations§
Source§impl Sheet
impl Sheet
Sourcepub fn new(salt: impl Into<String>, home: impl Into<String>) -> Sheet
pub fn new(salt: impl Into<String>, home: impl Into<String>) -> Sheet
What to hide, and what to hide it under.
salt makes the digests this report’s own. Pass something that changes between
reports and does not identify the machine on its own.
Sourcepub fn hide(self, secret: impl Into<String>, kind: &'static str) -> Sheet
pub fn hide(self, secret: impl Into<String>, kind: &'static str) -> Sheet
Hide every occurrence of secret, under a digest prefixed by kind.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnsafeUnpin for Sheet
impl UnwindSafe for Sheet
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