pub enum GraphProblem {
MissingDependency {
resource: String,
dependency: String,
},
Cycle(Vec<String>),
}Expand description
A dependency graph that does not hold together. Reported rather than raised, because the commands that build the graph are the ones most likely to run while it is still incomplete.
Variants§
Implementations§
Source§impl GraphProblem
impl GraphProblem
Sourcepub fn into_error(self) -> NewgitError
pub fn into_error(self) -> NewgitError
The error a graph-acting command raises when it meets this problem.
Trait Implementations§
Source§impl Clone for GraphProblem
impl Clone for GraphProblem
Source§fn clone(&self) -> GraphProblem
fn clone(&self) -> GraphProblem
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 GraphProblem
impl Debug for GraphProblem
Source§impl Display for GraphProblem
impl Display for GraphProblem
impl Eq for GraphProblem
Source§impl PartialEq for GraphProblem
impl PartialEq for GraphProblem
impl StructuralPartialEq for GraphProblem
Auto Trait Implementations§
impl Freeze for GraphProblem
impl RefUnwindSafe for GraphProblem
impl Send for GraphProblem
impl Sync for GraphProblem
impl Unpin for GraphProblem
impl UnsafeUnpin for GraphProblem
impl UnwindSafe for GraphProblem
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