pub trait RawConvertTo<O> {
// Required methods
fn to_vec(&self) -> BuckyResult<Vec<u8>>;
fn to_hex(&self) -> BuckyResult<String>;
}Required Methods§
fn to_vec(&self) -> BuckyResult<Vec<u8>>
fn to_hex(&self) -> BuckyResult<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".