pub enum DiscoveryProgress {
Started {
total_plugins: usize,
},
Found {
plugin: PluginInfo,
current: usize,
total: usize,
},
Error {
path: String,
error: String,
},
Completed {
total_found: usize,
},
}Expand description
Plugin discovery progress information
Variants§
Started
Discovery has started
Found
A plugin was found
Fields
§
plugin: PluginInfoThe plugin information
Error
An error occurred while scanning a plugin
Completed
Discovery completed
Trait Implementations§
Source§impl Clone for DiscoveryProgress
impl Clone for DiscoveryProgress
Source§fn clone(&self) -> DiscoveryProgress
fn clone(&self) -> DiscoveryProgress
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 moreAuto Trait Implementations§
impl Freeze for DiscoveryProgress
impl RefUnwindSafe for DiscoveryProgress
impl Send for DiscoveryProgress
impl Sync for DiscoveryProgress
impl Unpin for DiscoveryProgress
impl UnsafeUnpin for DiscoveryProgress
impl UnwindSafe for DiscoveryProgress
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