pub trait ArrayEncoding<T> {
// Required method
fn as_byte_array(&self) -> &T;
}Expand description
Work around the inability to implement AsRef for arrays of Encodings
due to the coherence rules.
pub trait ArrayEncoding<T> {
// Required method
fn as_byte_array(&self) -> &T;
}Work around the inability to implement AsRef for arrays of Encodings
due to the coherence rules.