pub struct RuntimeAwaitEventOptions {
pub cancellation: CancellationToken,
pub deadline: Option<Instant>,
pub clock: Arc<dyn Clock>,
}Expand description
Host controls attached to one external event wait.
Durable effect controllers consume these controls and translate them to their engine-native cancellation and timer primitives.
Fields§
§cancellation: CancellationToken§deadline: Option<Instant>§clock: Arc<dyn Clock>Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeAwaitEventOptions
impl !UnwindSafe for RuntimeAwaitEventOptions
impl Freeze for RuntimeAwaitEventOptions
impl Send for RuntimeAwaitEventOptions
impl Sync for RuntimeAwaitEventOptions
impl Unpin for RuntimeAwaitEventOptions
impl UnsafeUnpin for RuntimeAwaitEventOptions
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