Enum mls_rs::group::ProposalSender
source · pub enum ProposalSender {
Member(u32),
External(u32),
NewMember,
}Expand description
Proposal sender type.
Variants§
Member(u32)
A current member of the group by index in the group state.
External(u32)
An external entity by index within an
ExternalSendersExt.
NewMember
A new member proposing their addition to the group.
Trait Implementations§
source§impl Clone for ProposalSender
impl Clone for ProposalSender
source§fn clone(&self) -> ProposalSender
fn clone(&self) -> ProposalSender
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 ProposalSender
impl Debug for ProposalSender
source§impl PartialEq for ProposalSender
impl PartialEq for ProposalSender
source§fn eq(&self, other: &ProposalSender) -> bool
fn eq(&self, other: &ProposalSender) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<Sender> for ProposalSender
impl TryFrom<Sender> for ProposalSender
impl Copy for ProposalSender
impl Eq for ProposalSender
impl StructuralEq for ProposalSender
impl StructuralPartialEq for ProposalSender
Auto Trait Implementations§
impl RefUnwindSafe for ProposalSender
impl Send for ProposalSender
impl Sync for ProposalSender
impl Unpin for ProposalSender
impl UnwindSafe for ProposalSender
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more