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