pub struct ClusterSecret { /* private fields */ }Expand description
A shared secret used to authenticate cluster transport messages.
Wraps the raw password bytes and provides sign/verify operations.
The Debug impl redacts the secret to prevent accidental logging.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClusterSecret
impl RefUnwindSafe for ClusterSecret
impl Send for ClusterSecret
impl Sync for ClusterSecret
impl Unpin for ClusterSecret
impl UnsafeUnpin for ClusterSecret
impl UnwindSafe for ClusterSecret
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