pub struct OwnedDeferredContainerRun<T> { /* private fields */ }Expand description
A complete encoded result whose original child has not yet been settled.
Implementations§
Source§impl<T> OwnedDeferredContainerRun<T>
impl<T> OwnedDeferredContainerRun<T>
Sourcepub fn provisional_bytes(&self) -> &[u8] ⓘ
pub fn provisional_bytes(&self) -> &[u8] ⓘ
Bytes are provisional until actual child settlement and decoding succeed.
Sourcepub fn cleanup(&self) -> &OwnedContainerCleanup
pub fn cleanup(&self) -> &OwnedContainerCleanup
Borrows the actual retained child’s diagnostic identity.
Sourcepub fn finalize_until(self, deadline: Instant) -> OwnedFinalize<T>
pub fn finalize_until(self, deadline: Instant) -> OwnedFinalize<T>
Observes the real child up to the deadline, retaining ownership on failure.
Sourcepub fn cancel_until(self, deadline: Instant) -> OwnedFinalize<T>
pub fn cancel_until(self, deadline: Instant) -> OwnedFinalize<T>
Records explicit cancellation and makes a bounded attempt through the same child capability, retaining the complete result bytes on failure.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: Freeze,
impl<T> RefUnwindSafe for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: RefUnwindSafe,
impl<T> Send for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: Send,
impl<T> Sync for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: Sync,
impl<T> Unpin for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: Unpin,
impl<T> UnsafeUnpin for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: UnsafeUnpin,
impl<T> UnwindSafe for OwnedDeferredContainerRun<T>where
OwnedFinalization<T>: UnwindSafe,
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