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