enum Shown {
Verbatim,
Redacted(String),
HidesNext,
}Expand description
How one opaque argument is shown (spec §26 “Sensitive values must be redacted”, §36).
Variants§
Verbatim
Redacted(String)
The argument’s value is replaced: prefix<redacted>.
HidesNext
The argument is a secret-named option without =: the next argument is its value.
Auto Trait Implementations§
impl Freeze for Shown
impl RefUnwindSafe for Shown
impl Send for Shown
impl Sync for Shown
impl Unpin for Shown
impl UnsafeUnpin for Shown
impl UnwindSafe for Shown
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