pub trait RawConvertTo<O> {
// Required methods
fn to_vec(&self) -> CodecResult<Vec<u8>>;
fn to_hex(&self) -> CodecResult<String>;
}pub trait RawConvertTo<O> {
// Required methods
fn to_vec(&self) -> CodecResult<Vec<u8>>;
fn to_hex(&self) -> CodecResult<String>;
}