pub enum PresentedIdentity<'a, EF, V, LF> {
Absent,
Live(&'a LiveMember<EF>),
Retired(&'a RetiredIdentity<EF, V, LF>),
}Expand description
Result of resolving the presented participant key before operation-specific authority checks.
Variants§
Absent
No live identity or tombstone exists for the presented key.
Live(&'a LiveMember<EF>)
The presented key resolves to live membership.
Retired(&'a RetiredIdentity<EF, V, LF>)
The presented key resolves to a permanent tombstone.
Trait Implementations§
Source§impl<EF, V, LF> Clone for PresentedIdentity<'_, EF, V, LF>
impl<EF, V, LF> Clone for PresentedIdentity<'_, EF, V, LF>
impl<EF, V, LF> Copy for PresentedIdentity<'_, EF, V, LF>
Source§impl<'a, EF, V, LF> From<Option<&'a IdentityState<EF, V, LF>>> for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> From<Option<&'a IdentityState<EF, V, LF>>> for PresentedIdentity<'a, EF, V, LF>
Source§fn from(value: Option<&'a IdentityState<EF, V, LF>>) -> Self
fn from(value: Option<&'a IdentityState<EF, V, LF>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, EF, V, LF> Freeze for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> RefUnwindSafe for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Send for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Sync for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> Unpin for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> UnsafeUnpin for PresentedIdentity<'a, EF, V, LF>
impl<'a, EF, V, LF> UnwindSafe for PresentedIdentity<'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