pub struct SecretTooShort {
pub chars: usize,
}Expand description
A secret too short to redact safely.
Fields§
§chars: usizeTrait Implementations§
Source§impl Clone for SecretTooShort
impl Clone for SecretTooShort
Source§impl Debug for SecretTooShort
impl Debug for SecretTooShort
Source§impl Display for SecretTooShort
impl Display for SecretTooShort
impl Eq for SecretTooShort
Source§impl Error for SecretTooShort
impl Error for SecretTooShort
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SecretTooShort
impl PartialEq for SecretTooShort
impl StructuralPartialEq for SecretTooShort
Auto Trait Implementations§
impl Forget for SecretTooShort
impl Freeze for SecretTooShort
impl Move for SecretTooShort
impl RefUnwindSafe for SecretTooShort
impl Send for SecretTooShort
impl Sync for SecretTooShort
impl Unpin for SecretTooShort
impl UnsafeUnpin for SecretTooShort
impl UnwindSafe for SecretTooShort
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