#[repr(u8)]pub enum SenderType {
Reserved = 0,
Member = 1,
External = 2,
NewMemberProposal = 3,
NewMemberCommit = 4,
}
Variants§
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<'de> Deserialize<'de> for SenderType
impl<'de> Deserialize<'de> for SenderType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Sender> for SenderType
impl From<&Sender> for SenderType
Source§impl PartialEq for SenderType
impl PartialEq for SenderType
Source§impl Serialize for SenderType
impl Serialize 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