pub trait AsBytes {
// Required method
fn as_bytes(&self) -> Vec<u8>;
}
Expand description
Trait allowing values to be converted to Vec<u8>
.
This trait is not meant to be implemented, but you can if you need to.
pub trait AsBytes {
// Required method
fn as_bytes(&self) -> Vec<u8>;
}
Trait allowing values to be converted to Vec<u8>
.
This trait is not meant to be implemented, but you can if you need to.