pub trait ExposeSecretMut<S: ?Sized> {
// Required method
fn expose_secret_mut(&mut self) -> &mut S;
}Expand description
Expose a mutable reference to an inner secret
Required Methods§
Sourcefn expose_secret_mut(&mut self) -> &mut S
fn expose_secret_mut(&mut self) -> &mut S
Expose secret: this is the only method providing access to a secret.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".