pub enum PluginResolutionError {
InvalidPolicy {
field: String,
message: String,
},
InvalidRequirements {
message: String,
},
InvalidCatalogRecord {
artifact_identity: String,
message: String,
},
MissingProvider {
service: String,
requirements: Vec<String>,
catalog_candidates: usize,
policy_candidates: usize,
},
VersionConflict {
service: String,
requirements: Vec<String>,
available_versions: Vec<String>,
},
PluginIdentityConflict {
plugin_id: String,
selected_identity: String,
candidate_identity: String,
},
DependencyCycle {
artifact_identities: Vec<String>,
},
ConstraintLimitExceeded {
limit: usize,
},
SearchLimitExceeded {
limit: usize,
},
}Variants§
InvalidPolicy
InvalidRequirements
InvalidCatalogRecord
MissingProvider
VersionConflict
PluginIdentityConflict
DependencyCycle
ConstraintLimitExceeded
SearchLimitExceeded
Trait Implementations§
Source§impl Clone for PluginResolutionError
impl Clone for PluginResolutionError
Source§fn clone(&self) -> PluginResolutionError
fn clone(&self) -> PluginResolutionError
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 PluginResolutionError
impl Debug for PluginResolutionError
Source§impl Display for PluginResolutionError
impl Display for PluginResolutionError
impl Eq for PluginResolutionError
Source§impl Error for PluginResolutionError
impl Error for PluginResolutionError
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<PluginResolutionError> for PluginPlanError
impl From<PluginResolutionError> for PluginPlanError
Source§fn from(source: PluginResolutionError) -> Self
fn from(source: PluginResolutionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginResolutionError
impl PartialEq for PluginResolutionError
impl StructuralPartialEq for PluginResolutionError
Auto Trait Implementations§
impl Freeze for PluginResolutionError
impl RefUnwindSafe for PluginResolutionError
impl Send for PluginResolutionError
impl Sync for PluginResolutionError
impl Unpin for PluginResolutionError
impl UnsafeUnpin for PluginResolutionError
impl UnwindSafe for PluginResolutionError
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