pub trait EncodingTrait {
// Required methods
fn encode(&self, data: &[u8]) -> String;
fn decode(&self, data: &str) -> Result<ByteVector>;
}pub trait EncodingTrait {
// Required methods
fn encode(&self, data: &[u8]) -> String;
fn decode(&self, data: &str) -> Result<ByteVector>;
}