pub trait ToVec: Sealed {
// Required method
fn copy_to_vec(&self) -> Result<Vec<u8>>;
}Expand description
This trait is automatically implemented for all ToWrite impls to allow a
struct to be copied into a Vec
pub trait ToVec: Sealed {
// Required method
fn copy_to_vec(&self) -> Result<Vec<u8>>;
}This trait is automatically implemented for all ToWrite impls to allow a
struct to be copied into a Vec