pub enum ReceiverCloseOutcome {
Closed,
ActiveLeases {
session: ReceiverSession<Ready>,
facts: ActiveLeaseFacts,
},
Failed {
session: ReceiverSession<Ready>,
error: SessionFailure,
},
}Expand description
Recoverable receiver close result.
Variants§
Closed
No active mappings remained and the inherited endpoint was closed.
ActiveLeases
Active mappings still retain the session; drop them and retry with the returned owner.
Fields
§
session: ReceiverSession<Ready>Unconsumed live session owner.
§
facts: ActiveLeaseFactsBounded current active mapping facts.
Failed
An unexpected local close transition failed without consuming ownership.
Fields
§
session: ReceiverSession<Ready>Unconsumed session owner that may be aborted or retried.
§
error: SessionFailureBounded local failure diagnostics.
Auto Trait Implementations§
impl !RefUnwindSafe for ReceiverCloseOutcome
impl !Sync for ReceiverCloseOutcome
impl Freeze for ReceiverCloseOutcome
impl Send for ReceiverCloseOutcome
impl Unpin for ReceiverCloseOutcome
impl UnsafeUnpin for ReceiverCloseOutcome
impl UnwindSafe for ReceiverCloseOutcome
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