pub enum MatrixError {
CycleDetected,
DuplicatedInput {
output1: (NodeId, u8),
output2: (NodeId, u8),
},
NonEmptyCell {
cell: Cell,
},
PosOutOfRange,
}Expand description
To report back cycle errors from Matrix::check and Matrix::sync.
Variants§
Trait Implementations§
Source§impl Clone for MatrixError
impl Clone for MatrixError
Source§fn clone(&self) -> MatrixError
fn clone(&self) -> MatrixError
Returns a duplicate of the value. Read more
1.0.0 · 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 MatrixError
impl Debug for MatrixError
Source§impl From<MatrixError> for MatrixDeserError
impl From<MatrixError> for MatrixDeserError
Source§fn from(err: MatrixError) -> Self
fn from(err: MatrixError) -> Self
Converts to this type from the input type.
Source§impl Ord for MatrixError
impl Ord for MatrixError
Source§fn cmp(&self, other: &MatrixError) -> Ordering
fn cmp(&self, other: &MatrixError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MatrixError
impl PartialEq for MatrixError
Source§impl PartialOrd for MatrixError
impl PartialOrd for MatrixError
impl Copy for MatrixError
impl Eq for MatrixError
impl StructuralPartialEq for MatrixError
Auto Trait Implementations§
impl Freeze for MatrixError
impl RefUnwindSafe for MatrixError
impl Send for MatrixError
impl Sync for MatrixError
impl Unpin for MatrixError
impl UnwindSafe for MatrixError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.