pub struct Secure(/* private fields */);Expand description
A wrapper type for securely handling sensitive string data.
Implementations§
Trait Implementations§
Source§impl Ord for Secure
impl Ord for Secure
Source§impl PartialOrd for Secure
impl PartialOrd for Secure
impl Eq for Secure
impl StructuralPartialEq for Secure
Auto Trait Implementations§
impl Freeze for Secure
impl RefUnwindSafe for Secure
impl Send for Secure
impl Sync for Secure
impl Unpin for Secure
impl UnwindSafe for Secure
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)