pub struct CredentialBinding(/* private fields */);Expand description
Opaque identity for one transport credential lifecycle.
Transport implementations must generate this value with a CSPRNG when a credential is created and retain it across clones of that same credential. Rotation or replacement must create a different binding. The value is not an authentication secret, but diagnostics remain redacted so it cannot become an application-visible correlation identifier by accident.
Implementations§
Source§impl CredentialBinding
impl CredentialBinding
Trait Implementations§
Source§impl Clone for CredentialBinding
impl Clone for CredentialBinding
Source§fn clone(&self) -> CredentialBinding
fn clone(&self) -> CredentialBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CredentialBinding
Source§impl Debug for CredentialBinding
impl Debug for CredentialBinding
impl Eq for CredentialBinding
Auto Trait Implementations§
impl Freeze for CredentialBinding
impl RefUnwindSafe for CredentialBinding
impl Send for CredentialBinding
impl Sync for CredentialBinding
impl Unpin for CredentialBinding
impl UnsafeUnpin for CredentialBinding
impl UnwindSafe for CredentialBinding
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