pub struct CycleError {
pub cycle_path: Vec<String>,
}Expand description
Error type for cyclic import detection
Fields§
§cycle_path: Vec<String>The cycle that was detected (list of module names forming the cycle)
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 · 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
Auto Trait Implementations§
impl Freeze for CycleError
impl RefUnwindSafe for CycleError
impl Send for CycleError
impl Sync for CycleError
impl Unpin 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