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