pub struct RunTicket {
pub id: RunId,
/* private fields */
}Expand description
In-memory operation ticket scoped to this Host lifetime. NOT a durable input
receipt or the Harness operation ID; the latter is in OrdinaryOutput::Run.
Dropping this observer never drops/cancels the supervised operation.
Fields§
§id: RunIdImplementations§
Source§impl RunTicket
impl RunTicket
pub async fn wait(&self) -> BackendResult<Arc<BackendReport>>
Trait Implementations§
Auto Trait Implementations§
impl Forget for RunTicket
impl Freeze for RunTicketwhere
*const ArcInner<Shared<Option<Result<Arc<BackendReport>, BackendError>>>> is !null: Freeze,
PhantomData<ArcInner<Shared<Option<Result<Arc<BackendReport>, BackendError>>>>>: Freeze,
impl Move for RunTicket
impl RefUnwindSafe for RunTicketwhere
Atomic<usize>: RefUnwindSafe,
RwLock<Option<Result<Arc<BackendReport>, BackendError>>>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
impl Send for RunTicket
impl Sync for RunTicket
impl Unpin for RunTicket
impl UnsafeUnpin for RunTicketwhere
*const ArcInner<Shared<Option<Result<Arc<BackendReport>, BackendError>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Shared<Option<Result<Arc<BackendReport>, BackendError>>>>>: UnsafeUnpin,
impl UnwindSafe for RunTicket
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