pub enum IdentityState<EF, V, LF> {
Live(LiveMember<EF>),
Retired(RetiredIdentity<EF, V, LF>),
}Expand description
Present participant identity state; absence is represented outside this enum.
Variants§
Live(LiveMember<EF>)
Live membership, whether bound or detached.
Retired(RetiredIdentity<EF, V, LF>)
Permanent Leave tombstone.
Trait Implementations§
Source§impl<EF: Clone, V: Clone, LF: Clone> Clone for IdentityState<EF, V, LF>
impl<EF: Clone, V: Clone, LF: Clone> Clone for IdentityState<EF, V, LF>
Source§fn clone(&self) -> IdentityState<EF, V, LF>
fn clone(&self) -> IdentityState<EF, V, LF>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<EF: Eq, V: Eq, LF: Eq> Eq for IdentityState<EF, V, LF>
Source§impl<'a, EF, V, LF> From<&'a IdentityState<EF, V, LF>> for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> From<&'a IdentityState<EF, V, LF>> for ResolvedIdentity<'a, EF, V, LF>
Source§fn from(value: &'a IdentityState<EF, V, LF>) -> Self
fn from(value: &'a IdentityState<EF, V, LF>) -> Self
Converts to this type from the input type.
impl<EF: PartialEq, V: PartialEq, LF: PartialEq> StructuralPartialEq for IdentityState<EF, V, LF>
Auto Trait Implementations§
impl<EF, V, LF> Freeze for IdentityState<EF, V, LF>
impl<EF, V, LF> RefUnwindSafe for IdentityState<EF, V, LF>
impl<EF, V, LF> Send for IdentityState<EF, V, LF>
impl<EF, V, LF> Sync for IdentityState<EF, V, LF>
impl<EF, V, LF> Unpin for IdentityState<EF, V, LF>
impl<EF, V, LF> UnsafeUnpin for IdentityState<EF, V, LF>
impl<EF, V, LF> UnwindSafe for IdentityState<EF, V, LF>
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