pub enum PluginDescriptorError {
Toml(Error),
InvalidField {
field: String,
message: String,
},
DuplicateCapability {
interface_id: String,
instance_id: String,
},
Catalog(PluginCatalogError),
Json(Error),
}Variants§
Trait Implementations§
Source§impl Debug for PluginDescriptorError
impl Debug for PluginDescriptorError
Source§impl Display for PluginDescriptorError
impl Display for PluginDescriptorError
Source§impl Error for PluginDescriptorError
impl Error for PluginDescriptorError
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<Error> for PluginDescriptorError
impl From<Error> for PluginDescriptorError
Source§impl From<Error> for PluginDescriptorError
impl From<Error> for PluginDescriptorError
Source§impl From<PluginCatalogError> for PluginDescriptorError
impl From<PluginCatalogError> for PluginDescriptorError
Source§fn from(source: PluginCatalogError) -> Self
fn from(source: PluginCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<PluginDescriptorError> for PluginPackageError
impl From<PluginDescriptorError> for PluginPackageError
Source§fn from(source: PluginDescriptorError) -> Self
fn from(source: PluginDescriptorError) -> Self
Converts to this type from the input type.
Source§impl From<PluginDescriptorError> for PluginProjectManifestError
impl From<PluginDescriptorError> for PluginProjectManifestError
Source§fn from(source: PluginDescriptorError) -> Self
fn from(source: PluginDescriptorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PluginDescriptorError
impl !UnwindSafe for PluginDescriptorError
impl Freeze for PluginDescriptorError
impl Send for PluginDescriptorError
impl Sync for PluginDescriptorError
impl Unpin for PluginDescriptorError
impl UnsafeUnpin for PluginDescriptorError
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