pub trait SerializableSecret: Serialize { }Expand description
Marker trait that opts a secret type into serialization.
No methods — its only purpose is to gate the Serialize impl on
Fixed<T> and Dynamic<T>.
Requires the serde-serialize feature.
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.