pub struct Secret<T>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for Secret<T>
impl<T: Ord> Ord for Secret<T>
Source§impl<T: PartialOrd> PartialOrd for Secret<T>
impl<T: PartialOrd> PartialOrd for Secret<T>
impl<T: Copy> Copy for Secret<T>
impl<T: Eq> Eq for Secret<T>
impl<T> StructuralPartialEq for Secret<T>
Auto Trait Implementations§
impl<T> Freeze for Secret<T>where
T: Freeze,
impl<T> RefUnwindSafe for Secret<T>where
T: RefUnwindSafe,
impl<T> Send for Secret<T>where
T: Send,
impl<T> Sync for Secret<T>where
T: Sync,
impl<T> Unpin for Secret<T>where
T: Unpin,
impl<T> UnwindSafe for Secret<T>where
T: UnwindSafe,
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