Struct secrecy::SecretBytesMut [−][src]
pub struct SecretBytesMut(_);
This is supported on crate feature
bytes
only.Expand description
Instance of BytesMut
protected by a type that impls the ExposeSecret
trait like Secret<T>
.
Because of the nature of how the BytesMut
type works, it needs some special
care in order to have a proper zeroizing drop handler.
Implementations
Wrap bytes in SecretBytesMut
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Expose secret: this is the only method providing access to a secret.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SecretBytesMut
impl Send for SecretBytesMut
impl Sync for SecretBytesMut
impl Unpin for SecretBytesMut
impl UnwindSafe for SecretBytesMut
Blanket Implementations
Mutably borrows from an owned value. Read more