pub trait ExposeSecretMut: ExposeSecret {
// Required method
fn expose_secret_mut(&mut self) -> &mut Self::Inner;
}Expand description
Re-export of the traits. Trait for mutable access to secrets.
Extends ExposeSecret, so metadata and read access are included.
Import this for .expose_secret_mut().
Required Methods§
Sourcefn expose_secret_mut(&mut self) -> &mut Self::Inner
fn expose_secret_mut(&mut self) -> &mut Self::Inner
Expose the secret for mutable access.
Implementors§
impl ExposeSecretMut for Dynamic<CloneableStringInner>
zeroize only.Implementation for Dynamic<CloneableStringInner> - provides mutable access.
impl ExposeSecretMut for Dynamic<CloneableVecInner>
zeroize only.Implementation for Dynamic<CloneableVecInner> - provides mutable access.
impl ExposeSecretMut for Dynamic<String>
Implementation for Dynamic<String> - provides mutable access.
Extends the read-only implementation with mutation capabilities.
impl ExposeSecretMut for Fixed<u32>
Implementation for Fixed<u32> - provides mutable access.
impl<T> ExposeSecretMut for Dynamic<Vec<T>>
Implementation for Dynamic<Vec<T>> - provides mutable access.
Extends the read-only implementation with mutation capabilities.
impl<const N: usize> ExposeSecretMut for Fixed<CloneableArrayInner<N>>
zeroize only.Implementation for Fixed<CloneableArrayInner<N>> - provides mutable access.
impl<const N: usize, T> ExposeSecretMut for Fixed<[T; N]>
Implementation for [Fixed<[T; N]>] - provides mutable access for arrays.
Extends the read-only implementation with mutation capabilities.