pub struct CudaBatchDecodeResult { /* private fields */ }Expand description
CUDA batch successes plus indexed codec preflight failures.
Implementations§
Source§impl CudaBatchDecodeResult
impl CudaBatchDecodeResult
Sourcepub fn groups(&self) -> &[CudaBatchGroup]
pub fn groups(&self) -> &[CudaBatchGroup]
Successfully decoded homogeneous device groups.
Sourcepub fn errors(&self) -> &[IndexedBatchError]
pub fn errors(&self) -> &[IndexedBatchError]
Per-input parsing and representability failures from shared preflight.
Sourcepub fn group_errors(&self) -> &[CudaBatchGroupError]
pub fn group_errors(&self) -> &[CudaBatchGroupError]
Homogeneous groups that failed during recoverable CUDA execution.
Sourcepub fn into_parts(
self,
) -> (Vec<CudaBatchGroup>, Vec<IndexedBatchError>, Vec<CudaBatchGroupError>)
pub fn into_parts( self, ) -> (Vec<CudaBatchGroup>, Vec<IndexedBatchError>, Vec<CudaBatchGroupError>)
Consume this result into successful groups, indexed preflight errors, and homogeneous execution failures.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CudaBatchDecodeResult
impl !UnwindSafe for CudaBatchDecodeResult
impl Freeze for CudaBatchDecodeResult
impl Send for CudaBatchDecodeResult
impl Sync for CudaBatchDecodeResult
impl Unpin for CudaBatchDecodeResult
impl UnsafeUnpin for CudaBatchDecodeResult
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