pub struct CpuBatchDecodeResult { /* private fields */ }Expand description
CPU batch decode successes and indexed item failures.
Implementations§
Source§impl CpuBatchDecodeResult
impl CpuBatchDecodeResult
Sourcepub fn groups(&self) -> &[CpuBatchGroup]
pub fn groups(&self) -> &[CpuBatchGroup]
Successfully decoded homogeneous groups.
Sourcepub fn errors(&self) -> &[IndexedBatchError]
pub fn errors(&self) -> &[IndexedBatchError]
Preparation and decode failures in original input order.
Sourcepub fn into_parts(self) -> (Vec<CpuBatchGroup>, Vec<IndexedBatchError>)
pub fn into_parts(self) -> (Vec<CpuBatchGroup>, Vec<IndexedBatchError>)
Consume the result into successful groups and indexed errors.
Trait Implementations§
Source§impl Debug for CpuBatchDecodeResult
impl Debug for CpuBatchDecodeResult
impl Eq for CpuBatchDecodeResult
Source§impl PartialEq for CpuBatchDecodeResult
impl PartialEq for CpuBatchDecodeResult
impl StructuralPartialEq for CpuBatchDecodeResult
Auto Trait Implementations§
impl !RefUnwindSafe for CpuBatchDecodeResult
impl !UnwindSafe for CpuBatchDecodeResult
impl Freeze for CpuBatchDecodeResult
impl Send for CpuBatchDecodeResult
impl Sync for CpuBatchDecodeResult
impl Unpin for CpuBatchDecodeResult
impl UnsafeUnpin for CpuBatchDecodeResult
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