pub struct EcPublicKeyUncompressedBin<'a>(Buffer<'a, EcPublicKeyUncompressedBinType>);
Expand description
Serialized bytes
Tuple Fields§
§0: Buffer<'a, EcPublicKeyUncompressedBinType>
Implementations§
Source§impl EcPublicKeyUncompressedBin<'static>
impl EcPublicKeyUncompressedBin<'static>
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<'_>
Source§impl<'a> Deref for EcPublicKeyUncompressedBin<'a>
impl<'a> Deref for EcPublicKeyUncompressedBin<'a>
Source§impl<'a> From<Buffer<'a, EcPublicKeyUncompressedBinType>> for EcPublicKeyUncompressedBin<'a>
impl<'a> From<Buffer<'a, EcPublicKeyUncompressedBinType>> for EcPublicKeyUncompressedBin<'a>
Source§fn from(value: Buffer<'a, EcPublicKeyUncompressedBinType>) -> Self
fn from(value: Buffer<'a, EcPublicKeyUncompressedBinType>) -> Self
Converts to this type from the input type.
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