pub struct CycleError {
pub remaining: Vec<String>,
}Expand description
Error type for topo_sort. Carries the cycle path so callers
can surface it in the error message.
Fields§
§remaining: Vec<String>Tables that participate in at least one cycle, in alphabetical order so the message is deterministic.
Trait Implementations§
Source§impl Clone for CycleError
impl Clone for CycleError
Source§fn clone(&self) -> CycleError
fn clone(&self) -> CycleError
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 CycleError
impl Debug for CycleError
impl Eq for CycleError
Source§impl PartialEq for CycleError
impl PartialEq for CycleError
Source§fn eq(&self, other: &CycleError) -> bool
fn eq(&self, other: &CycleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CycleError
Auto Trait Implementations§
impl Freeze for CycleError
impl RefUnwindSafe for CycleError
impl Send for CycleError
impl Sync for CycleError
impl Unpin for CycleError
impl UnsafeUnpin for CycleError
impl UnwindSafe for CycleError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.