#[repr(u8)]pub enum SenderType {
Member = 1,
External = 2,
NewMemberProposal = 3,
NewMemberCommit = 4,
}
Expand description
RFC9420 Sec.6 Sender Type
Variants§
Member = 1
Member Sender
External = 2
External Sender
NewMemberProposal = 3
New Member Proposal Sender
NewMemberCommit = 4
New Member Commit Sender
Trait Implementations§
Source§impl Clone for SenderType
impl Clone for SenderType
Source§fn clone(&self) -> SenderType
fn clone(&self) -> SenderType
Returns a duplicate 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 SenderType
impl Debug for SenderType
Source§impl Default for SenderType
impl Default for SenderType
Source§fn default() -> SenderType
fn default() -> SenderType
Returns the “default value” for a type. Read more
Source§impl Deserializer for SenderType
impl Deserializer for SenderType
Source§impl PartialEq for SenderType
impl PartialEq for SenderType
Source§impl Serializer for SenderType
impl Serializer for SenderType
Source§impl TryFrom<u8> for SenderType
impl TryFrom<u8> for SenderType
impl Copy for SenderType
impl Eq for SenderType
impl StructuralPartialEq for SenderType
Auto Trait Implementations§
impl Freeze for SenderType
impl RefUnwindSafe for SenderType
impl Send for SenderType
impl Sync for SenderType
impl Unpin for SenderType
impl UnwindSafe for SenderType
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