pub enum AssembleError {
DuplicatePlugin {
name: String,
},
Artifact {
plugin: String,
reason: String,
},
BadReference {
reference: String,
},
UnknownPlugin {
reference: String,
plugin: String,
plugins: Vec<String>,
},
UnknownGroup {
reference: String,
plugin: String,
group: String,
groups: Vec<String>,
},
NotOneString {
field: &'static str,
reference: String,
},
}Expand description
Why a set of contributions and a config could not be made into a manifest.
Variants§
DuplicatePlugin
A reference goes by plugin name, so a name has to mean one plugin.
Artifact
BadReference
UnknownPlugin
UnknownGroup
NotOneString
Trait Implementations§
Source§impl Clone for AssembleError
impl Clone for AssembleError
Source§impl Debug for AssembleError
impl Debug for AssembleError
Source§impl Display for AssembleError
impl Display for AssembleError
impl Eq for AssembleError
Source§impl Error for AssembleError
impl Error for AssembleError
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 AssembleError
impl PartialEq for AssembleError
impl StructuralPartialEq for AssembleError
Auto Trait Implementations§
impl Forget for AssembleError
impl Freeze for AssembleError
impl Move for AssembleError
impl RefUnwindSafe for AssembleError
impl Send for AssembleError
impl Sync for AssembleError
impl Unpin for AssembleError
impl UnsafeUnpin for AssembleError
impl UnwindSafe for AssembleError
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.