pub enum NaryLayoutError {
EmptyBatch,
EmptyBody {
pattern: usize,
},
TooManyBodyAtoms {
pattern: usize,
atoms: usize,
},
AtomArityOutOfRange {
pattern: usize,
atom: usize,
arity: usize,
},
JoinIndexOutOfRange {
pattern: usize,
atom: usize,
join: u8,
},
HeadIndexOutOfRange {
pattern: usize,
atom: usize,
head: u8,
},
HeadArityOutOfRange {
pattern: usize,
head_arity: usize,
},
}Expand description
Typed refusal: the pattern batch cannot be represented on device.
Variants§
EmptyBatch
EmptyBody
TooManyBodyAtoms
AtomArityOutOfRange
JoinIndexOutOfRange
HeadIndexOutOfRange
HeadArityOutOfRange
Trait Implementations§
Source§impl Clone for NaryLayoutError
impl Clone for NaryLayoutError
Source§fn clone(&self) -> NaryLayoutError
fn clone(&self) -> NaryLayoutError
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 NaryLayoutError
impl Debug for NaryLayoutError
Source§impl Display for NaryLayoutError
impl Display for NaryLayoutError
impl Eq for NaryLayoutError
Source§impl Error for NaryLayoutError
impl Error for NaryLayoutError
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 NaryLayoutError
impl PartialEq for NaryLayoutError
Source§fn eq(&self, other: &NaryLayoutError) -> bool
fn eq(&self, other: &NaryLayoutError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NaryLayoutError
Auto Trait Implementations§
impl Freeze for NaryLayoutError
impl RefUnwindSafe for NaryLayoutError
impl Send for NaryLayoutError
impl Sync for NaryLayoutError
impl Unpin for NaryLayoutError
impl UnsafeUnpin for NaryLayoutError
impl UnwindSafe for NaryLayoutError
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more