pub struct SignatureNonce { /* private fields */ }
Implementations§
Source§impl SignatureNonce
impl SignatureNonce
pub fn new(data: Bytes) -> SignatureNonce
Trait Implementations§
Source§impl AsMut<Bytes> for SignatureNonce
impl AsMut<Bytes> for SignatureNonce
Source§impl AsRef<Bytes> for SignatureNonce
impl AsRef<Bytes> for SignatureNonce
Source§impl Clone for SignatureNonce
impl Clone for SignatureNonce
Source§fn clone(&self) -> SignatureNonce
fn clone(&self) -> SignatureNonce
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignatureNonce
impl Debug for SignatureNonce
Source§impl From<Bytes> for SignatureNonce
impl From<Bytes> for SignatureNonce
Source§fn from(original: Bytes) -> SignatureNonce
fn from(original: Bytes) -> SignatureNonce
Converts to this type from the input type.
Source§impl From<SignatureNonce> for Bytes
impl From<SignatureNonce> for Bytes
Source§fn from(original: SignatureNonce) -> Self
fn from(original: SignatureNonce) -> Self
Converts to this type from the input type.
Source§impl Hash for SignatureNonce
impl Hash for SignatureNonce
Source§impl PartialEq for SignatureNonce
impl PartialEq for SignatureNonce
Source§impl Tlv for SignatureNonce
impl Tlv for SignatureNonce
Source§fn inner_size(&self) -> usize
fn inner_size(&self) -> usize
The size of the payload contained within this TLV Read more
Source§fn critical() -> bool
fn critical() -> bool
Whether the TLV is critical, see
tlv_critical
Source§impl TlvDecode for SignatureNonce
impl TlvDecode for SignatureNonce
Source§impl TlvEncode for SignatureNonce
impl TlvEncode for SignatureNonce
impl Eq for SignatureNonce
impl StructuralPartialEq for SignatureNonce
Auto Trait Implementations§
impl !Freeze for SignatureNonce
impl RefUnwindSafe for SignatureNonce
impl Send for SignatureNonce
impl Sync for SignatureNonce
impl Unpin for SignatureNonce
impl UnwindSafe for SignatureNonce
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more