pub enum OrderError {
Missing {
plugin: PluginId,
missing: PluginId,
},
Cycle {
path: Vec<PluginId>,
},
Duplicate {
id: PluginId,
},
}Expand description
Why plugins cannot be ordered.
Variants§
Missing
plugin requires missing, which is not there.
Cycle
These plugins require each other, in this order (the first again at the end).
Duplicate
Two plugins share an id.
Trait Implementations§
Source§impl Clone for OrderError
impl Clone for OrderError
Source§fn clone(&self) -> OrderError
fn clone(&self) -> OrderError
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 OrderError
impl Debug for OrderError
Source§impl Display for OrderError
impl Display for OrderError
Source§impl Error for OrderError
impl Error for OrderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for OrderError
impl PartialEq for OrderError
impl Eq for OrderError
impl StructuralPartialEq for OrderError
Auto Trait Implementations§
impl Freeze for OrderError
impl RefUnwindSafe for OrderError
impl Send for OrderError
impl Sync for OrderError
impl Unpin for OrderError
impl UnsafeUnpin for OrderError
impl UnwindSafe for OrderError
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