pub enum EmbeddedPluginRegistryError {
Show 26 variants
OversizedRegistry {
actual_bytes: usize,
maximum_bytes: usize,
},
Json(Error),
SchemaVersion(u32),
TooManyFragments {
actual: usize,
maximum: usize,
},
OversizedRegistrySet {
actual_bytes: usize,
maximum_bytes: usize,
},
TargetMismatch {
expected: String,
actual: String,
},
ArchitectureMismatch {
expected: String,
actual: String,
},
MinimumOsMismatch {
expected: Option<String>,
actual: Option<String>,
},
InvalidField {
field: String,
message: String,
},
TooManyArtifacts {
actual: usize,
maximum: usize,
},
DuplicatePluginId(String),
DuplicateLocator(String),
DuplicateCapability {
plugin_id: String,
interface_id: String,
instance_id: String,
},
UnsupportedTransport {
plugin_id: String,
transport: PluginTransport,
},
UnknownPluginReference(String),
ResolveArtifact {
plugin_id: String,
message: String,
},
ArtifactNotFile {
path: String,
},
OversizedArtifact {
path: String,
actual_bytes: u64,
maximum_bytes: u64,
},
DuplicateAndroidPackageEntry {
path: String,
entry: String,
},
ReadArtifact {
path: String,
source: Error,
},
ChecksumMismatch {
path: String,
expected: String,
actual: String,
},
PlatformIntegrityVerificationRequired {
plugin_id: String,
},
PlatformIntegrityVerification {
plugin_id: String,
message: String,
},
Load(PluginRegistryBuildError),
UnavailableInterface {
plugin_id: String,
instance_id: String,
message: String,
},
CapabilityMismatch {
plugin_id: String,
},
}Variants§
OversizedRegistry
Json(Error)
SchemaVersion(u32)
TooManyFragments
OversizedRegistrySet
TargetMismatch
ArchitectureMismatch
MinimumOsMismatch
InvalidField
TooManyArtifacts
DuplicatePluginId(String)
DuplicateLocator(String)
DuplicateCapability
UnsupportedTransport
UnknownPluginReference(String)
ResolveArtifact
ArtifactNotFile
OversizedArtifact
DuplicateAndroidPackageEntry
ReadArtifact
ChecksumMismatch
PlatformIntegrityVerificationRequired
PlatformIntegrityVerification
Load(PluginRegistryBuildError)
CapabilityMismatch
Trait Implementations§
Source§impl Debug for EmbeddedPluginRegistryError
impl Debug for EmbeddedPluginRegistryError
Source§impl Error for EmbeddedPluginRegistryError
impl Error for EmbeddedPluginRegistryError
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 EmbeddedPluginRegistryError
impl From<Error> for EmbeddedPluginRegistryError
Source§impl From<PluginRegistryBuildError> for EmbeddedPluginRegistryError
impl From<PluginRegistryBuildError> for EmbeddedPluginRegistryError
Source§fn from(source: PluginRegistryBuildError) -> Self
fn from(source: PluginRegistryBuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EmbeddedPluginRegistryError
impl !UnwindSafe for EmbeddedPluginRegistryError
impl Freeze for EmbeddedPluginRegistryError
impl Send for EmbeddedPluginRegistryError
impl Sync for EmbeddedPluginRegistryError
impl Unpin for EmbeddedPluginRegistryError
impl UnsafeUnpin for EmbeddedPluginRegistryError
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