#[repr(u16)]pub enum LeaveAuthorityStateTag {
Live = 1,
CommittedLeaveTombstone = 2,
}Expand description
Leave-specific outer authority-state selector.
Variants§
Live = 1
Live identity authority mismatch.
CommittedLeaveTombstone = 2
Exact token resolved to the committed Leave tombstone.
Implementations§
Source§impl LeaveAuthorityStateTag
impl LeaveAuthorityStateTag
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for LeaveAuthorityStateTag
impl Clone for LeaveAuthorityStateTag
Source§fn clone(&self) -> LeaveAuthorityStateTag
fn clone(&self) -> LeaveAuthorityStateTag
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 Copy for LeaveAuthorityStateTag
Source§impl Debug for LeaveAuthorityStateTag
impl Debug for LeaveAuthorityStateTag
impl Eq for LeaveAuthorityStateTag
Source§impl From<LeaveAuthorityStateTag> for u16
impl From<LeaveAuthorityStateTag> for u16
Source§fn from(value: LeaveAuthorityStateTag) -> Self
fn from(value: LeaveAuthorityStateTag) -> Self
Converts to this type from the input type.
Source§impl Hash for LeaveAuthorityStateTag
impl Hash for LeaveAuthorityStateTag
Source§impl PartialEq for LeaveAuthorityStateTag
impl PartialEq for LeaveAuthorityStateTag
impl StructuralPartialEq for LeaveAuthorityStateTag
Auto Trait Implementations§
impl Freeze for LeaveAuthorityStateTag
impl RefUnwindSafe for LeaveAuthorityStateTag
impl Send for LeaveAuthorityStateTag
impl Sync for LeaveAuthorityStateTag
impl Unpin for LeaveAuthorityStateTag
impl UnsafeUnpin for LeaveAuthorityStateTag
impl UnwindSafe for LeaveAuthorityStateTag
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