#[non_exhaustive]pub enum ChunkBuffersError {
LengthMismatch {
buffer_index: usize,
expected: usize,
actual: usize,
},
}Expand description
Failure to partition a fixed set of mutable buffers into matching chunks.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LengthMismatch
A buffer does not have the same element count as the first buffer.
Trait Implementations§
Source§impl Clone for ChunkBuffersError
impl Clone for ChunkBuffersError
Source§fn clone(&self) -> ChunkBuffersError
fn clone(&self) -> ChunkBuffersError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChunkBuffersError
Source§impl Debug for ChunkBuffersError
impl Debug for ChunkBuffersError
Source§impl Display for ChunkBuffersError
impl Display for ChunkBuffersError
impl Eq for ChunkBuffersError
Source§impl Error for ChunkBuffersError
impl Error for ChunkBuffersError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ChunkBuffersError
impl PartialEq for ChunkBuffersError
impl StructuralPartialEq for ChunkBuffersError
Auto Trait Implementations§
impl Freeze for ChunkBuffersError
impl RefUnwindSafe for ChunkBuffersError
impl Send for ChunkBuffersError
impl Sync for ChunkBuffersError
impl Unpin for ChunkBuffersError
impl UnsafeUnpin for ChunkBuffersError
impl UnwindSafe for ChunkBuffersError
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