Trait AsRawBytes
pub trait AsRawBytes<T> {
// Required method
fn as_raw_bytes(&self) -> Result<T, Unspecified>;
}Available on crate features
aws-lc and crypto only.Expand description
Trait for values that can be serialized into a raw format
Required Methods§
fn as_raw_bytes(&self) -> Result<T, Unspecified>
fn as_raw_bytes(&self) -> Result<T, Unspecified>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".