pub enum DeriveError {
UndeclaredDependency(NodeId),
MissingValue(NodeId),
WrongCollectionType(NodeId),
Message(String),
}Expand description
Error returned by a pure derived node computation.
Variants§
UndeclaredDependency(NodeId)
A derive function tried to read a node it did not declare.
MissingValue(NodeId)
A dependency had no committed value.
WrongCollectionType(NodeId)
A collection dependency was read with the wrong set/map shape or value type.
Message(String)
User-defined derivation failed.
Implementations§
Trait Implementations§
Source§impl Clone for DeriveError
impl Clone for DeriveError
Source§fn clone(&self) -> DeriveError
fn clone(&self) -> DeriveError
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 DeriveError
impl Debug for DeriveError
impl Eq for DeriveError
Source§impl From<DeriveError> for OutputError
impl From<DeriveError> for OutputError
Source§fn from(error: DeriveError) -> Self
fn from(error: DeriveError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeriveError
impl PartialEq for DeriveError
Source§fn eq(&self, other: &DeriveError) -> bool
fn eq(&self, other: &DeriveError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeriveError
Auto Trait Implementations§
impl Freeze for DeriveError
impl RefUnwindSafe for DeriveError
impl Send for DeriveError
impl Sync for DeriveError
impl Unpin for DeriveError
impl UnsafeUnpin for DeriveError
impl UnwindSafe for DeriveError
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