pub enum PluginCatalogError {
InvalidField {
field: String,
message: String,
},
DuplicateCapability {
interface_id: String,
instance_id: String,
},
DuplicateIdentity {
identity: String,
first_path: String,
duplicate_path: String,
},
InvalidDigest {
path: String,
},
TooManyRecords {
limit: usize,
},
TooManyDiagnostics {
limit: usize,
},
Json(String),
Reference(PluginReferenceError),
}Variants§
InvalidField
DuplicateCapability
DuplicateIdentity
InvalidDigest
TooManyRecords
TooManyDiagnostics
Json(String)
Reference(PluginReferenceError)
Trait Implementations§
Source§impl Clone for PluginCatalogError
impl Clone for PluginCatalogError
Source§fn clone(&self) -> PluginCatalogError
fn clone(&self) -> PluginCatalogError
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 PluginCatalogError
impl Debug for PluginCatalogError
Source§impl Display for PluginCatalogError
impl Display for PluginCatalogError
impl Eq for PluginCatalogError
Source§impl Error for PluginCatalogError
impl Error for PluginCatalogError
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 From<PluginCatalogError> for PluginPlanError
impl From<PluginCatalogError> for PluginPlanError
Source§fn from(source: PluginCatalogError) -> Self
fn from(source: PluginCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<PluginReferenceError> for PluginCatalogError
impl From<PluginReferenceError> for PluginCatalogError
Source§fn from(source: PluginReferenceError) -> Self
fn from(source: PluginReferenceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginCatalogError
impl PartialEq for PluginCatalogError
impl StructuralPartialEq for PluginCatalogError
Auto Trait Implementations§
impl Freeze for PluginCatalogError
impl RefUnwindSafe for PluginCatalogError
impl Send for PluginCatalogError
impl Sync for PluginCatalogError
impl Unpin for PluginCatalogError
impl UnsafeUnpin for PluginCatalogError
impl UnwindSafe for PluginCatalogError
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