pub enum DetachStaleAuthority {
Live {
conversation_id: ConversationId,
participant_id: ParticipantId,
capability_generation: Generation,
detach_attempt_token: DetachAttemptToken,
current_generation: Generation,
},
TerminalizedDetachCell(TerminalizedDetachCell),
}Expand description
Detach-specific stale-authority tagged union.
Variants§
Live
Ordinary live generation mismatch.
Fields
§
conversation_id: ConversationIdConversation from the request.
§
participant_id: ParticipantIdParticipant from the request.
§
capability_generation: GenerationPresented generation.
§
detach_attempt_token: DetachAttemptTokenPresented detach token.
§
current_generation: GenerationCurrent generation.
TerminalizedDetachCell(TerminalizedDetachCell)
Verified exact old token resolved to a terminalized detach cell.
Implementations§
Source§impl DetachStaleAuthority
impl DetachStaleAuthority
Returns the detach-specific outer authority-state tag.
Trait Implementations§
Source§impl Clone for DetachStaleAuthority
impl Clone for DetachStaleAuthority
Source§fn clone(&self) -> DetachStaleAuthority
fn clone(&self) -> DetachStaleAuthority
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 moreSource§impl Debug for DetachStaleAuthority
impl Debug for DetachStaleAuthority
impl Eq for DetachStaleAuthority
Source§impl PartialEq for DetachStaleAuthority
impl PartialEq for DetachStaleAuthority
impl StructuralPartialEq for DetachStaleAuthority
Auto Trait Implementations§
impl Freeze for DetachStaleAuthority
impl RefUnwindSafe for DetachStaleAuthority
impl Send for DetachStaleAuthority
impl Sync for DetachStaleAuthority
impl Unpin for DetachStaleAuthority
impl UnsafeUnpin for DetachStaleAuthority
impl UnwindSafe for DetachStaleAuthority
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