pub type SecretVec<S> = Secret<Vec<S>>;
Expand description
Vec
types containing secret value
Aliased Type§
struct SecretVec<S> { /* private fields */ }
Implementations
Trait Implementations
source§impl<S> Clone for Secret<S>where
S: CloneableSecret,
impl<S> Clone for Secret<S>where
S: CloneableSecret,
source§impl<S> ExposeSecret<S> for Secret<S>where
S: Zeroize,
impl<S> ExposeSecret<S> for Secret<S>where
S: Zeroize,
source§fn expose_secret(&self) -> &S
fn expose_secret(&self) -> &S
Expose secret: this is the only method providing access to a secret.