pub enum RecoveredReconnectPermitDecision {
Recovered {
aggregate: ClientParticipantAggregate,
permit: ReconnectAttemptPermit,
},
NotAvailable {
aggregate: ClientParticipantAggregate,
state: ReconnectState,
},
}Expand description
Decision for releasing a validated cold-restored permit exactly once.
Variants§
Recovered
Restore authority released one permit and marked it issued.
Fields
§
aggregate: ClientParticipantAggregateResulting aggregate.
§
permit: ReconnectAttemptPermitOne-use restored permit.
NotAvailable
No unissued restored permit exists.
Fields
§
aggregate: ClientParticipantAggregateUnchanged aggregate.
§
state: ReconnectStateCurrent reconnect state.
Trait Implementations§
impl Eq for RecoveredReconnectPermitDecision
impl StructuralPartialEq for RecoveredReconnectPermitDecision
Auto Trait Implementations§
impl Freeze for RecoveredReconnectPermitDecision
impl RefUnwindSafe for RecoveredReconnectPermitDecision
impl Send for RecoveredReconnectPermitDecision
impl Sync for RecoveredReconnectPermitDecision
impl Unpin for RecoveredReconnectPermitDecision
impl UnsafeUnpin for RecoveredReconnectPermitDecision
impl UnwindSafe for RecoveredReconnectPermitDecision
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