pub struct SignatureValue { /* private fields */ }
Implementations§
Source§impl SignatureValue
impl SignatureValue
pub fn new(data: Bytes) -> SignatureValue
Trait Implementations§
Source§impl AsMut<Bytes> for SignatureValue
impl AsMut<Bytes> for SignatureValue
Source§impl AsRef<Bytes> for SignatureValue
impl AsRef<Bytes> for SignatureValue
Source§impl Clone for SignatureValue
impl Clone for SignatureValue
Source§fn clone(&self) -> SignatureValue
fn clone(&self) -> SignatureValue
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 SignatureValue
impl Debug for SignatureValue
Source§impl From<Bytes> for SignatureValue
impl From<Bytes> for SignatureValue
Source§fn from(original: Bytes) -> SignatureValue
fn from(original: Bytes) -> SignatureValue
Converts to this type from the input type.
Source§impl From<SignatureValue> for Bytes
impl From<SignatureValue> for Bytes
Source§fn from(original: SignatureValue) -> Self
fn from(original: SignatureValue) -> Self
Converts to this type from the input type.
Source§impl Hash for SignatureValue
impl Hash for SignatureValue
Source§impl PartialEq for SignatureValue
impl PartialEq for SignatureValue
Source§impl Tlv for SignatureValue
impl Tlv for SignatureValue
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 SignatureValue
impl TlvDecode for SignatureValue
Source§impl TlvEncode for SignatureValue
impl TlvEncode for SignatureValue
impl Eq for SignatureValue
impl StructuralPartialEq for SignatureValue
Auto Trait Implementations§
impl !Freeze for SignatureValue
impl RefUnwindSafe for SignatureValue
impl Send for SignatureValue
impl Sync for SignatureValue
impl Unpin for SignatureValue
impl UnwindSafe for SignatureValue
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