pub trait AsRawBytes<T> {
// Required method
fn as_raw_bytes(&self) -> Result<T, Unspecified>;
}Expand description
Trait for values that can be serialized into a raw format
Required Methods§
Sourcefn as_raw_bytes(&self) -> Result<T, Unspecified>
fn as_raw_bytes(&self) -> Result<T, Unspecified>
Implementors§
impl AsRawBytes<PqdsaPrivateKeyRaw<'static>> for PqdsaPrivateKey<'_>
Available on crate feature
unstable and non-crate feature fips only.