pub trait EncodeAsRef<'a, T: 'a> {
type RefType: Encode + From<&'a T>;
}Expand description
Something that can be encoded as a reference.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".