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