pub struct Redact<R>(pub R);Expand description
Masks values with a Redactor, such as
Redaction::secrets.
Tuple Fields§
§0: RTrait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Redact<R>where
R: Freeze,
impl<R> RefUnwindSafe for Redact<R>where
R: RefUnwindSafe,
impl<R> Send for Redact<R>where
R: Send,
impl<R> Sync for Redact<R>where
R: Sync,
impl<R> Unpin for Redact<R>where
R: Unpin,
impl<R> UnsafeUnpin for Redact<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Redact<R>where
R: UnwindSafe,
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