pub trait Encode<Rhs> { type Output; // Required method fn encode(&self, values: Rhs) -> Self::Output; }
Encode defines a standard interface for encoding data.