pub struct RestoredExpectedOperationAbandonment { /* private fields */ }Expand description
Typed restore resolution for an operation that cannot safely be re-issued.
The abandonment is durable (LP-CLIENT-GOAL piece 4, r2, 2026-07-18): it
is serialized in the aggregate encoding, survives encode-without-take, and
is consumed exactly once by
ClientParticipantAggregate::take_restored_operation_abandonment.
Implementations§
Source§impl RestoredExpectedOperationAbandonment
impl RestoredExpectedOperationAbandonment
Sourcepub const fn request(&self) -> &ClientRequest
pub const fn request(&self) -> &ClientRequest
Borrows the exact operation the restore boundary abandoned.
Sourcepub const fn reason(&self) -> RestoredExpectedOperationAbandonmentReason
pub const fn reason(&self) -> RestoredExpectedOperationAbandonmentReason
Reports the closed abandonment reason.
Sourcepub const fn was_issued(&self) -> bool
pub const fn was_issued(&self) -> bool
Reports whether the abandoned operation had been issued before the crash, meaning a live send authority was destroyed with the process.
Sourcepub fn into_request(self) -> ClientRequest
pub fn into_request(self) -> ClientRequest
Consumes the resolution into the request callers may explicitly re-record.
Trait Implementations§
impl Eq for RestoredExpectedOperationAbandonment
impl StructuralPartialEq for RestoredExpectedOperationAbandonment
Auto Trait Implementations§
impl Freeze for RestoredExpectedOperationAbandonment
impl RefUnwindSafe for RestoredExpectedOperationAbandonment
impl Send for RestoredExpectedOperationAbandonment
impl Sync for RestoredExpectedOperationAbandonment
impl Unpin for RestoredExpectedOperationAbandonment
impl UnsafeUnpin for RestoredExpectedOperationAbandonment
impl UnwindSafe for RestoredExpectedOperationAbandonment
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