pub struct EcPublicKeyUncompressedBin<'a>(/* private fields */);
Expand description
Serialized bytes
Trait Implementations§
Source§impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for PublicKey
impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for PublicKey
Source§fn as_be_bytes(
&self,
) -> Result<EcPublicKeyUncompressedBin<'static>, Unspecified>
fn as_be_bytes( &self, ) -> Result<EcPublicKeyUncompressedBin<'static>, Unspecified>
Provides the public key elliptic curve point to a compressed point format.
Equivalent to PublicKey::as_ref
for ECDH key types, except that it provides you a copy instead of a reference.
§Errors
Returns an error if the underlying implementation is unable to marshal the public key to this format.
Source§impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for PublicKey
impl AsBigEndian<EcPublicKeyUncompressedBin<'static>> for PublicKey
Source§fn as_be_bytes(
&self,
) -> Result<EcPublicKeyUncompressedBin<'static>, Unspecified>
fn as_be_bytes( &self, ) -> Result<EcPublicKeyUncompressedBin<'static>, Unspecified>
Provides the public key elliptic curve point to an uncompressed point bytes format.
§Errors
Returns an error if the public key fails to marshal.
Source§impl Debug for EcPublicKeyUncompressedBin<'_>
impl Debug for EcPublicKeyUncompressedBin<'_>
Auto Trait Implementations§
impl<'a> Freeze for EcPublicKeyUncompressedBin<'a>
impl<'a> RefUnwindSafe for EcPublicKeyUncompressedBin<'a>
impl<'a> Send for EcPublicKeyUncompressedBin<'a>
impl<'a> Sync for EcPublicKeyUncompressedBin<'a>
impl<'a> Unpin for EcPublicKeyUncompressedBin<'a>
impl<'a> UnwindSafe for EcPublicKeyUncompressedBin<'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