Trait stdto_core::ToBytesForRef
source · pub trait ToBytesForRef: AsRef<[u8]> {
fn to_bytes(&self) -> Vec<u8> { ... }
fn try_to_bytes_into(&self, writer: impl Write) -> Result<()> { ... }
fn to_bytes_into(&self, writer: impl Write) { ... }
}