pub enum ShuffleError {
ZeroWidthGroup {
group: usize,
},
UnknownUnit {
unit: usize,
},
SplitGroup {
group: usize,
},
LayoutMismatch {
group: usize,
expected: usize,
actual: usize,
},
Stack(StackError),
}Expand description
Failure to construct or execute a logical stack shuffle.
Variants§
ZeroWidthGroup
A logical value group has no units.
UnknownUnit
An output unit does not name a unit in the input layout.
SplitGroup
An output layout selects only part of a value group or changes its unit order.
LayoutMismatch
The live stack does not have the layout for which the plan was validated.
Fields
Stack(StackError)
The staged output cannot be represented by the operand stack.
Trait Implementations§
Source§impl Clone for ShuffleError
impl Clone for ShuffleError
Source§fn clone(&self) -> ShuffleError
fn clone(&self) -> ShuffleError
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 moreSource§impl Debug for ShuffleError
impl Debug for ShuffleError
impl Eq for ShuffleError
Source§impl PartialEq for ShuffleError
impl PartialEq for ShuffleError
impl StructuralPartialEq for ShuffleError
Auto Trait Implementations§
impl Freeze for ShuffleError
impl RefUnwindSafe for ShuffleError
impl Send for ShuffleError
impl Sync for ShuffleError
impl Unpin for ShuffleError
impl UnsafeUnpin for ShuffleError
impl UnwindSafe for ShuffleError
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