pub struct OpaquePrivateKeyBytes(/* private fields */);Available on crate feature
alloc only.Expand description
An opaque private key.
The encoded representation of an OpaquePrivateKeyBytes consists of a 4-byte length prefix,
followed by its byte representation.
Trait Implementations§
Source§impl AsRef<[u8]> for OpaquePrivateKeyBytes
impl AsRef<[u8]> for OpaquePrivateKeyBytes
Source§impl Clone for OpaquePrivateKeyBytes
impl Clone for OpaquePrivateKeyBytes
Source§impl CtEq for OpaquePrivateKeyBytes
impl CtEq for OpaquePrivateKeyBytes
Source§impl Debug for OpaquePrivateKeyBytes
impl Debug for OpaquePrivateKeyBytes
Source§impl Decode for OpaquePrivateKeyBytes
impl Decode for OpaquePrivateKeyBytes
Source§impl Encode for OpaquePrivateKeyBytes
impl Encode for OpaquePrivateKeyBytes
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 moreAuto Trait Implementations§
impl Forget for OpaquePrivateKeyBytes
impl Freeze for OpaquePrivateKeyBytes
impl Move for OpaquePrivateKeyBytes
impl RefUnwindSafe for OpaquePrivateKeyBytes
impl Send for OpaquePrivateKeyByteswhere
RawVecInner: Send,
impl Sync for OpaquePrivateKeyByteswhere
RawVecInner: Sync,
impl Unpin for OpaquePrivateKeyBytes
impl UnsafeUnpin for OpaquePrivateKeyBytes
impl UnwindSafe for OpaquePrivateKeyByteswhere
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)