aws_lc_rs::encoding

Trait AsBigEndian

Source
pub trait AsBigEndian<T> {
    // Required method
    fn as_be_bytes(&self) -> Result<T, Unspecified>;
}
Expand description

Trait for values that can be serialized into a big-endian format

Required Methods§

Source

fn as_be_bytes(&self) -> Result<T, Unspecified>

Serializes into a big-endian format.

§Errors

Returns Unspecified if serialization fails.

Implementors§

Source§

impl AsBigEndian<Curve25519SeedBin<'static>> for aws_lc_rs::agreement::PrivateKey

Source§

impl AsBigEndian<Curve25519SeedBin<'static>> for Seed<'_>

Source§

impl AsBigEndian<EcPrivateKeyBin<'static>> for aws_lc_rs::agreement::PrivateKey

Source§

impl AsBigEndian<EcPrivateKeyBin<'static>> for aws_lc_rs::signature::EcdsaPrivateKey<'_>

Source§

impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for aws_lc_rs::agreement::PublicKey

Source§

impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for aws_lc_rs::signature::EcdsaPublicKey

Source§

impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for aws_lc_rs::agreement::PublicKey

Source§

impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for aws_lc_rs::signature::EcdsaPublicKey