pub trait AsBytes {
// Required method
fn as_bytes(&self) -> &[u8] ⓘ;
}
Expand description
Defines a zero-copy representation of Self
as a sequence of bytes.
pub trait AsBytes {
// Required method
fn as_bytes(&self) -> &[u8] ⓘ;
}
Defines a zero-copy representation of Self
as a sequence of bytes.