pub trait HexEncodeExt { // Required method fn hex_lower(&self) -> String; // Provided method fn hex_upper(&self) -> String { ... } }