pub struct SubmittedCudaExternalBatch { /* private fields */ }Expand description
Asynchronously submitted CUDA external-destination batch.
The destination ranges are metadata-only until the caller stream has been
ordered after codec completion or Self::wait succeeds. Dropping this
value waits before releasing codec-internal resources.
Implementations§
Source§impl SubmittedCudaExternalBatch
impl SubmittedCudaExternalBatch
Sourcepub fn group(&self) -> &CudaExternalBatchGroup
pub fn group(&self) -> &CudaExternalBatchGroup
Metadata and destination ranges for the submitted group.
Sourcepub fn is_complete(&self) -> Result<bool, CudaBatchError>
pub fn is_complete(&self) -> Result<bool, CudaBatchError>
Query final-store completion without waiting on the host.
Sourcepub fn try_finish(self) -> Result<CudaExternalBatchTryFinish, CudaBatchError>
pub fn try_finish(self) -> Result<CudaExternalBatchTryFinish, CudaBatchError>
Retire completed work without waiting, or return the still-pending completion owner unchanged.
Sourcepub fn wait(self) -> Result<CudaExternalBatchGroup, CudaBatchError>
pub fn wait(self) -> Result<CudaExternalBatchGroup, CudaBatchError>
Wait for final-store completion and validate entropy-kernel status.
Trait Implementations§
Auto Trait Implementations§
impl !Sync for SubmittedCudaExternalBatch
impl Freeze for SubmittedCudaExternalBatch
impl RefUnwindSafe for SubmittedCudaExternalBatch
impl Send for SubmittedCudaExternalBatch
impl Unpin for SubmittedCudaExternalBatch
impl UnsafeUnpin for SubmittedCudaExternalBatch
impl UnwindSafe for SubmittedCudaExternalBatch
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more