pub enum ShapeExprError {
ZeroTag,
ReservedTag {
tag: u8,
},
TruncatedBlob {
need: usize,
got: usize,
},
TrailingBytes {
extra: usize,
},
AxisOutOfRange {
axis: u8,
rank: usize,
},
OperandOutOfRange {
operand: u8,
operands: usize,
},
ParamOutOfRange {
field: u8,
params: usize,
},
DivideByZero,
}Expand description
A typed decline. A reader MUST refuse malformed input with one of these, never a panic (§6.20-0003/0006).
Variants§
ZeroTag
ReservedTag
TruncatedBlob
TrailingBytes
AxisOutOfRange
OperandOutOfRange
ParamOutOfRange
DivideByZero
Trait Implementations§
Source§impl Clone for ShapeExprError
impl Clone for ShapeExprError
Source§impl Debug for ShapeExprError
impl Debug for ShapeExprError
impl Eq for ShapeExprError
Source§impl PartialEq for ShapeExprError
impl PartialEq for ShapeExprError
impl StructuralPartialEq for ShapeExprError
Auto Trait Implementations§
impl Forget for ShapeExprError
impl Freeze for ShapeExprError
impl Move for ShapeExprError
impl RefUnwindSafe for ShapeExprError
impl Send for ShapeExprError
impl Sync for ShapeExprError
impl Unpin for ShapeExprError
impl UnsafeUnpin for ShapeExprError
impl UnwindSafe for ShapeExprError
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