pub trait CloneableSecret: Clone + Zeroize { }Available on crate feature
cloneable-secret only.Expand description
A trait for cloneable secrets.
This trait extends the standard Clone trait for types that represent secrets,
allowing them to be cloned.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
impl CloneableSecret for f32
impl CloneableSecret for f64
impl CloneableSecret for i8
impl CloneableSecret for i16
impl CloneableSecret for i32
impl CloneableSecret for i64
impl CloneableSecret for i128
impl CloneableSecret for isize
impl CloneableSecret for u8
impl CloneableSecret for u16
impl CloneableSecret for u32
impl CloneableSecret for u64
impl CloneableSecret for u128
impl CloneableSecret for usize
impl CloneableSecret for String
Available on crate feature
alloc only.impl<T: Clone + Zeroize> CloneableSecret for Vec<T>
Available on crate feature
alloc only.