pub struct RedactedString(/* private fields */);Expand description
String wrapper that refuses to render its value in Debug or
Display. The value is only accessible via Self::expose — by
convention, callers should not log the result of expose().
Implementations§
Trait Implementations§
Source§impl Debug for RedactedString
impl Debug for RedactedString
Auto Trait Implementations§
impl Freeze for RedactedString
impl RefUnwindSafe for RedactedString
impl Send for RedactedString
impl Sync for RedactedString
impl Unpin for RedactedString
impl UnsafeUnpin for RedactedString
impl UnwindSafe for RedactedString
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