pub enum CoordinatorCloseOutcome {
Closed(ChildCleanupFacts),
ActiveLeases {
session: CoordinatorSession<Ready>,
facts: ActiveLeaseFacts,
},
CleanupPending {
session: CoordinatorSession<Ready>,
facts: ChildCleanupFacts,
failure: SessionFailure,
},
Failed {
session: CoordinatorSession<Ready>,
error: SessionFailure,
},
}Expand description
Recoverable coordinator close result.
Variants§
Closed(ChildCleanupFacts)
No active leases remained and the exact direct child was reaped.
ActiveLeases
Active mappings still retain the session; drop them and retry with the returned owner.
Fields
§
session: CoordinatorSession<Ready>Unconsumed live session owner.
§
facts: ActiveLeaseFactsBounded current active mapping facts.
CleanupPending
The deadline elapsed or cleanup failed; the returned owner retains exact child authority.
Fields
§
session: CoordinatorSession<Ready>Unconsumed live session owner.
§
facts: ChildCleanupFactsBounded cleanup facts from this attempt.
§
failure: SessionFailureExact close failure category and the same retained cleanup evidence.
Failed
An unexpected local close transition failed without consuming ownership.
Fields
§
session: CoordinatorSession<Ready>Unconsumed session owner that may be aborted or retried.
§
error: SessionFailureBounded failure diagnostics including cleanup already attempted.
Auto Trait Implementations§
impl !RefUnwindSafe for CoordinatorCloseOutcome
impl !Sync for CoordinatorCloseOutcome
impl Freeze for CoordinatorCloseOutcome
impl Send for CoordinatorCloseOutcome
impl Unpin for CoordinatorCloseOutcome
impl UnsafeUnpin for CoordinatorCloseOutcome
impl UnwindSafe for CoordinatorCloseOutcome
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