pub struct ProtectedString { /* private fields */ }Expand description
Protected string with automatic zeroization.
Implementations§
Trait Implementations§
Source§impl Debug for ProtectedString
impl Debug for ProtectedString
Source§impl Default for ProtectedString
impl Default for ProtectedString
Source§fn default() -> ProtectedString
fn default() -> ProtectedString
Returns the “default value” for a type. Read more
Source§impl Drop for ProtectedString
impl Drop for ProtectedString
Auto Trait Implementations§
impl Freeze for ProtectedString
impl RefUnwindSafe for ProtectedString
impl Send for ProtectedString
impl Sync for ProtectedString
impl Unpin for ProtectedString
impl UnsafeUnpin for ProtectedString
impl UnwindSafe for ProtectedString
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