pub struct Redacted(/* private fields */);Expand description
A string that never prints its contents through fmt::Debug or
fmt::Display. Only Redacted::expose reads it, and only the
server-side logging sink should call that.
Implementations§
Trait Implementations§
impl Eq for Redacted
impl StructuralPartialEq for Redacted
Auto Trait Implementations§
impl Freeze for Redacted
impl RefUnwindSafe for Redacted
impl Send for Redacted
impl Sync for Redacted
impl Unpin for Redacted
impl UnsafeUnpin for Redacted
impl UnwindSafe for Redacted
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