pub enum TaskGraphError {
InvalidNode,
InvalidNodeType,
InvalidEdge,
DuplicateEdge,
}
Expand description
Error that can happen when doing operations on a TaskGraph
.
Variants§
Trait Implementations§
Source§impl Debug for TaskGraphError
impl Debug for TaskGraphError
Source§impl Display for TaskGraphError
impl Display for TaskGraphError
Source§impl Error for TaskGraphError
impl Error for TaskGraphError
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 TaskGraphError
impl PartialEq for TaskGraphError
impl Eq for TaskGraphError
impl StructuralPartialEq for TaskGraphError
Auto Trait Implementations§
impl Freeze for TaskGraphError
impl RefUnwindSafe for TaskGraphError
impl Send for TaskGraphError
impl Sync for TaskGraphError
impl Unpin for TaskGraphError
impl UnwindSafe for TaskGraphError
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