pub enum PluginResolveResult {
AlreadyInstalled {
name: String,
installed_version: String,
},
Installed {
name: String,
version: String,
source: String,
},
BuiltFromSource {
name: String,
source_path: PathBuf,
},
Failed {
name: String,
reason: String,
},
Skipped {
name: String,
reason: String,
},
}Expand description
Result of resolving a single plugin.
Variants§
AlreadyInstalled
Plugin already installed and version satisfies the constraint.
Installed
Plugin was freshly installed.
BuiltFromSource
Plugin was built from source.
Failed
Plugin resolution failed.
Skipped
Plugin was skipped (optional and not available).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginResolveResult
impl RefUnwindSafe for PluginResolveResult
impl Send for PluginResolveResult
impl Sync for PluginResolveResult
impl Unpin for PluginResolveResult
impl UnsafeUnpin for PluginResolveResult
impl UnwindSafe for PluginResolveResult
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