#[non_exhaustive]pub enum IntegrationError {
ProviderNotFound(String),
ChannelNotFound(String),
ChannelDisabled(String),
PluginScanRootNotFound(String),
PluginFileRead {
path: String,
reason: String,
},
PluginManifestParse {
path: String,
reason: String,
},
PluginManifestConflict {
package_manifest_path: String,
source_path: String,
field: String,
package_value: String,
source_value: String,
},
AwarenessRootNotFound(String),
AwarenessFileRead {
path: String,
reason: String,
},
PluginAbsorbFailed {
plugin_id: String,
reason: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProviderNotFound(String)
ChannelNotFound(String)
ChannelDisabled(String)
PluginScanRootNotFound(String)
PluginFileRead
PluginManifestParse
PluginManifestConflict
Fields
AwarenessRootNotFound(String)
AwarenessFileRead
PluginAbsorbFailed
Trait Implementations§
Source§impl Debug for IntegrationError
impl Debug for IntegrationError
Source§impl Display for IntegrationError
impl Display for IntegrationError
Source§impl Error for IntegrationError
impl Error for IntegrationError
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 From<IntegrationError> for KernelError
impl From<IntegrationError> for KernelError
Source§fn from(source: IntegrationError) -> Self
fn from(source: IntegrationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IntegrationError
impl PartialEq for IntegrationError
impl Eq for IntegrationError
impl StructuralPartialEq for IntegrationError
Auto Trait Implementations§
impl Freeze for IntegrationError
impl RefUnwindSafe for IntegrationError
impl Send for IntegrationError
impl Sync for IntegrationError
impl Unpin for IntegrationError
impl UnsafeUnpin for IntegrationError
impl UnwindSafe for IntegrationError
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