pub struct EcPublicKeyCompressedBin<'a>(/* private fields */);
Expand description
Serialized bytes
Trait Implementations§
Source§impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for PublicKey
impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for PublicKey
Source§fn as_be_bytes(&self) -> Result<EcPublicKeyCompressedBin<'static>, Unspecified>
fn as_be_bytes(&self) -> Result<EcPublicKeyCompressedBin<'static>, Unspecified>
Provides the public key elliptic curve point to a compressed point format.
§Errors
Returns an error if the underlying implementation is unable to marshal the public key to this format.
Source§impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for PublicKey
impl AsBigEndian<EcPublicKeyCompressedBin<'static>> for PublicKey
Source§fn as_be_bytes(&self) -> Result<EcPublicKeyCompressedBin<'static>, Unspecified>
fn as_be_bytes(&self) -> Result<EcPublicKeyCompressedBin<'static>, Unspecified>
Provides the public key elliptic curve point to a compressed point bytes format.
§Errors
Returns an error if the public key fails to marshal.
Source§impl Debug for EcPublicKeyCompressedBin<'_>
impl Debug for EcPublicKeyCompressedBin<'_>
Auto Trait Implementations§
impl<'a> Freeze for EcPublicKeyCompressedBin<'a>
impl<'a> RefUnwindSafe for EcPublicKeyCompressedBin<'a>
impl<'a> Send for EcPublicKeyCompressedBin<'a>
impl<'a> Sync for EcPublicKeyCompressedBin<'a>
impl<'a> Unpin for EcPublicKeyCompressedBin<'a>
impl<'a> UnwindSafe for EcPublicKeyCompressedBin<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more