ExposeSecretMut

Trait ExposeSecretMut 

Source
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§

Source

fn expose_secret_mut(&mut self) -> &mut Self::Inner

Expose the secret for mutable access.

Implementors§

Source§

impl ExposeSecretMut for Dynamic<CloneableStringInner>

Available on crate feature zeroize only.

Implementation for Dynamic<CloneableStringInner> - provides mutable access.

Source§

impl ExposeSecretMut for Dynamic<CloneableVecInner>

Available on crate feature zeroize only.

Implementation for Dynamic<CloneableVecInner> - provides mutable access.

Source§

impl ExposeSecretMut for Dynamic<String>

Implementation for Dynamic<String> - provides mutable access.

Extends the read-only implementation with mutation capabilities.

Source§

impl ExposeSecretMut for Fixed<u32>

Implementation for Fixed<u32> - provides mutable access.

Source§

impl<T> ExposeSecretMut for Dynamic<Vec<T>>

Implementation for Dynamic<Vec<T>> - provides mutable access.

Extends the read-only implementation with mutation capabilities.

Source§

impl<const N: usize> ExposeSecretMut for Fixed<CloneableArrayInner<N>>

Available on crate feature zeroize only.

Implementation for Fixed<CloneableArrayInner<N>> - provides mutable access.

Source§

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.