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.