pub struct AttemptCall<'a> {
pub projection: &'a [u8],
pub attempt_id: &'a str,
pub cancel: CancelSignal,
pub cx: &'a CallContext,
}Expand description
One dispatched attempt (spec 003, 3.2.6).
Fields§
§projection: &'a [u8]Canonical projection, exactly as the core listed it.
attempt_id: &'a strStable across timing; usable as an idempotency key.
cancel: CancelSignalRaised on caller cancellation, deadline or attempt timeout.
cx: &'a CallContextAuto Trait Implementations§
impl<'a> Freeze for AttemptCall<'a>
impl<'a> RefUnwindSafe for AttemptCall<'a>
impl<'a> Send for AttemptCall<'a>
impl<'a> Sync for AttemptCall<'a>
impl<'a> Unpin for AttemptCall<'a>
impl<'a> UnsafeUnpin for AttemptCall<'a>
impl<'a> UnwindSafe for AttemptCall<'a>
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