pub struct DiscoveredPlugin {
pub manifest: PluginManifest,
pub executable_path: PathBuf,
pub manifest_dir: PathBuf,
}Expand description
Plugin that survived discovery — manifest parsed cleanly and the executable matches the declared checksum. Ready to hand to the plugin client.
Fields§
§manifest: PluginManifest§executable_path: PathBufCanonicalised absolute path to the verified executable.
manifest_dir: PathBufThe directory the manifest was loaded from.
Trait Implementations§
Source§impl Clone for DiscoveredPlugin
impl Clone for DiscoveredPlugin
Source§fn clone(&self) -> DiscoveredPlugin
fn clone(&self) -> DiscoveredPlugin
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 DiscoveredPlugin
impl Debug for DiscoveredPlugin
Source§impl PartialEq for DiscoveredPlugin
impl PartialEq for DiscoveredPlugin
Source§fn eq(&self, other: &DiscoveredPlugin) -> bool
fn eq(&self, other: &DiscoveredPlugin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DiscoveredPlugin
impl StructuralPartialEq for DiscoveredPlugin
Auto Trait Implementations§
impl Freeze for DiscoveredPlugin
impl RefUnwindSafe for DiscoveredPlugin
impl Send for DiscoveredPlugin
impl Sync for DiscoveredPlugin
impl Unpin for DiscoveredPlugin
impl UnsafeUnpin for DiscoveredPlugin
impl UnwindSafe for DiscoveredPlugin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.