pub struct OpaquePublicKeyBytes(/* private fields */);Available on crate feature
alloc only.Expand description
The underlying representation of an OpaquePublicKey.
The encoded representation of an OpaquePublicKeyBytes consists of a 4-byte length prefix,
followed by its byte representation.
Trait Implementations§
Source§impl AsRef<[u8]> for OpaquePublicKeyBytes
impl AsRef<[u8]> for OpaquePublicKeyBytes
Source§impl Clone for OpaquePublicKeyBytes
impl Clone for OpaquePublicKeyBytes
Source§impl Debug for OpaquePublicKeyBytes
impl Debug for OpaquePublicKeyBytes
Source§impl Decode for OpaquePublicKeyBytes
impl Decode for OpaquePublicKeyBytes
Source§impl Encode for OpaquePublicKeyBytes
impl Encode for OpaquePublicKeyBytes
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding. Read more
Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32 length prefix. Read moreimpl Eq for OpaquePublicKeyBytes
Source§impl Hash for OpaquePublicKeyBytes
impl Hash for OpaquePublicKeyBytes
Source§impl Ord for OpaquePublicKeyBytes
impl Ord for OpaquePublicKeyBytes
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OpaquePublicKeyBytes
impl PartialEq for OpaquePublicKeyBytes
Source§impl PartialOrd for OpaquePublicKeyBytes
impl PartialOrd for OpaquePublicKeyBytes
impl StructuralPartialEq for OpaquePublicKeyBytes
Auto Trait Implementations§
impl Forget for OpaquePublicKeyBytes
impl Freeze for OpaquePublicKeyBytes
impl Move for OpaquePublicKeyBytes
impl RefUnwindSafe for OpaquePublicKeyBytes
impl Send for OpaquePublicKeyByteswhere
RawVecInner: Send,
impl Sync for OpaquePublicKeyByteswhere
RawVecInner: Sync,
impl Unpin for OpaquePublicKeyBytes
impl UnsafeUnpin for OpaquePublicKeyBytes
impl UnwindSafe for OpaquePublicKeyByteswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)