pub enum ErrorTarget {
Graph,
Node(NodeId),
Scope(ScopeId),
Transaction(TransactionId),
Output(OutputKey),
}Expand description
Stable graph target involved in an error.
Variants§
Graph
No narrower target exists.
Node(NodeId)
A node was involved.
Scope(ScopeId)
A scope was involved.
Transaction(TransactionId)
A transaction was involved.
Output(OutputKey)
A materialized output was involved.
Trait Implementations§
Source§impl Clone for ErrorTarget
impl Clone for ErrorTarget
Source§fn clone(&self) -> ErrorTarget
fn clone(&self) -> ErrorTarget
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 ErrorTarget
Source§impl Debug for ErrorTarget
impl Debug for ErrorTarget
impl Eq for ErrorTarget
Source§impl PartialEq for ErrorTarget
impl PartialEq for ErrorTarget
Source§fn eq(&self, other: &ErrorTarget) -> bool
fn eq(&self, other: &ErrorTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorTarget
Auto Trait Implementations§
impl Freeze for ErrorTarget
impl RefUnwindSafe for ErrorTarget
impl Send for ErrorTarget
impl Sync for ErrorTarget
impl Unpin for ErrorTarget
impl UnsafeUnpin for ErrorTarget
impl UnwindSafe for ErrorTarget
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