pub struct DeliveryContext {
pub cancellation: CancellationToken,
pub deadline: Instant,
}Expand description
Cancellation and deadline supplied to one transport request.
Fields§
§cancellation: CancellationTokenCancellation shared with the durable worker.
deadline: InstantAbsolute request deadline.
Trait Implementations§
Source§impl Clone for DeliveryContext
impl Clone for DeliveryContext
Source§fn clone(&self) -> DeliveryContext
fn clone(&self) -> DeliveryContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeliveryContext
impl RefUnwindSafe for DeliveryContext
impl Send for DeliveryContext
impl Sync for DeliveryContext
impl Unpin for DeliveryContext
impl UnsafeUnpin for DeliveryContext
impl UnwindSafe for DeliveryContext
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