pub enum TopologicalError<'i, T, G> {
MissingTask {
task: &'i T,
},
MissingGroup {
group: &'i G,
},
}
Expand description
Error type for topological sort
Variants§
MissingTask
A task is missing from the list of tasks.
MissingGroup
A group is missing from the list of groups.
Trait Implementations§
Source§impl<'i, T: Clone, G: Clone> Clone for TopologicalError<'i, T, G>
impl<'i, T: Clone, G: Clone> Clone for TopologicalError<'i, T, G>
Source§fn clone(&self) -> TopologicalError<'i, T, G>
fn clone(&self) -> TopologicalError<'i, T, G>
Returns a copy 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 moreimpl<'i, T: Copy, G: Copy> Copy for TopologicalError<'i, T, G>
Auto Trait Implementations§
impl<'i, T, G> Freeze for TopologicalError<'i, T, G>
impl<'i, T, G> RefUnwindSafe for TopologicalError<'i, T, G>where
T: RefUnwindSafe,
G: RefUnwindSafe,
impl<'i, T, G> Send for TopologicalError<'i, T, G>
impl<'i, T, G> Sync for TopologicalError<'i, T, G>
impl<'i, T, G> Unpin for TopologicalError<'i, T, G>
impl<'i, T, G> UnwindSafe for TopologicalError<'i, T, G>where
T: RefUnwindSafe,
G: RefUnwindSafe,
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