Enum coi::AnalysisError
source · pub enum AnalysisError {
Cycle(&'static str),
Missing(&'static str, &'static str),
}
Available on crate feature
debug
only.Expand description
Possible errors generated when running Container::analyze
.
Variants§
Cycle(&'static str)
There is a cyclic dependency within the container
Missing(&'static str, &'static str)
There is a missing dependency. Param 0 depends on Param 1, and Param 1 is missing.
Trait Implementations§
source§impl Debug for AnalysisError
impl Debug for AnalysisError
source§impl Display for AnalysisError
impl Display for AnalysisError
source§impl Error for AnalysisError
impl Error for AnalysisError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for AnalysisError
impl Send for AnalysisError
impl Sync for AnalysisError
impl Unpin for AnalysisError
impl UnwindSafe for AnalysisError
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