pub struct ExpectedParticipantOperation { /* private fields */ }Expand description
Sealed, non-cloneable authority to execute exactly the committed operation.
Implementations§
Source§impl ExpectedParticipantOperation
impl ExpectedParticipantOperation
Sourcepub const fn request(&self) -> &ClientRequest
pub const fn request(&self) -> &ClientRequest
Borrows the exact request released by the durability barrier.
Sourcepub fn into_request(self) -> (ClientRequest, ClientResponseCorrelation)
pub fn into_request(self) -> (ClientRequest, ClientResponseCorrelation)
Consumes the send authority into its exact request and a non-cloneable response-correlation capability.
Returning both values from the advertised send path prevents successful request extraction from silently discarding the only typed handle that can terminalize an issued operation after transport loss.
Trait Implementations§
Source§impl Debug for ExpectedParticipantOperation
impl Debug for ExpectedParticipantOperation
impl Eq for ExpectedParticipantOperation
impl StructuralPartialEq for ExpectedParticipantOperation
Auto Trait Implementations§
impl Freeze for ExpectedParticipantOperation
impl RefUnwindSafe for ExpectedParticipantOperation
impl Send for ExpectedParticipantOperation
impl Sync for ExpectedParticipantOperation
impl Unpin for ExpectedParticipantOperation
impl UnsafeUnpin for ExpectedParticipantOperation
impl UnwindSafe for ExpectedParticipantOperation
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