Enum OperatorError
pub enum OperatorError {
UnsupportedShape,
WorkspaceTooSmall,
InvalidPayload,
IndexOutOfRange,
MalformedDescriptor,
UnsupportedKind,
}Expand description
Recoverable operator contract failure.
Copy so hot paths can return without allocation.
Variants§
UnsupportedShape
Rank, feature, or batch dimensions are zero or inconsistent with the views.
WorkspaceTooSmall
Caller workspace is smaller than super::workspace_requirement.
InvalidPayload
Payload length, alignment, or checksum does not match the descriptor.
IndexOutOfRange
A tile or codebook index is outside the declared bounds.
MalformedDescriptor
Descriptor fields contradict each other (kind vs scale layout, digest empty, etc.).
UnsupportedKind
Kind is unknown, or apply was asked for a kind this schedule does not implement.
Implementations§
§impl OperatorError
impl OperatorError
Trait Implementations§
§impl Clone for OperatorError
impl Clone for OperatorError
§fn clone(&self) -> OperatorError
fn clone(&self) -> OperatorError
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 OperatorError
§impl Debug for OperatorError
impl Debug for OperatorError
impl Eq for OperatorError
§impl PartialEq for OperatorError
impl PartialEq for OperatorError
impl StructuralPartialEq for OperatorError
Auto Trait Implementations§
impl Freeze for OperatorError
impl RefUnwindSafe for OperatorError
impl Send for OperatorError
impl Sync for OperatorError
impl Unpin for OperatorError
impl UnsafeUnpin for OperatorError
impl UnwindSafe for OperatorError
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