pub trait TlsListElement {
    const SIZE_LEN: ListLength;
}Expand description
A trait for types that can be encoded and decoded in a list.
This trait is used to implement Codec for Vec<T>. Lists in the TLS wire format are
prefixed with a length, the size of which depends on the type of the list elements.
As such, the Codec implementation for Vec<T> requires an implementation of this trait
for its element type T.
Required Associated Constants§
const SIZE_LEN: ListLength
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.