pub enum ResolvedIdentity<'a, EF, V, LF> {
Live(&'a LiveMember<EF>),
Retired(&'a RetiredIdentity<EF, V, LF>),
}Expand description
Identity reached through an exact token index before the presented-key identity lookup runs.
Absence is represented by the operation-specific token phase. A resolved token always names either a live identity or its permanent tombstone.
Variants§
Live(&'a LiveMember<EF>)
The token index resolves to live membership.
Retired(&'a RetiredIdentity<EF, V, LF>)
The token index resolves to a permanent tombstone.
Trait Implementations§
Source§impl<EF, V, LF> Clone for ResolvedIdentity<'_, EF, V, LF>
impl<EF, V, LF> Clone for ResolvedIdentity<'_, EF, V, LF>
impl<EF, V, LF> Copy for ResolvedIdentity<'_, 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.
Auto Trait Implementations§
impl<'a, EF, V, LF> Freeze for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> RefUnwindSafe for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Send for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Sync for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Unpin for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> UnsafeUnpin for ResolvedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> UnwindSafe for ResolvedIdentity<'a, 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