pub struct PluginInfo {
pub id: u64,
pub name: String,
pub version: String,
pub manifest_path: Option<PathBuf>,
pub entry_path: Option<PathBuf>,
pub loaded_at: Instant,
pub last_reload: Option<Instant>,
pub reload_count: u64,
pub invocation_count: u64,
pub state: LifecycleState,
}Expand description
Information about a loaded plugin.
Fields§
§id: u64Unique plugin ID.
name: StringPlugin name from manifest.
version: StringPlugin version from manifest.
manifest_path: Option<PathBuf>Path to the manifest file.
entry_path: Option<PathBuf>Path to the source/bytecode file.
loaded_at: InstantWhen the plugin was loaded.
last_reload: Option<Instant>When the plugin was last reloaded.
reload_count: u64Total reload count.
invocation_count: u64Total invocation count.
state: LifecycleStateCurrent lifecycle state.
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§fn clone(&self) -> PluginInfo
fn clone(&self) -> PluginInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginInfo
impl RefUnwindSafe for PluginInfo
impl Send for PluginInfo
impl Sync for PluginInfo
impl Unpin for PluginInfo
impl UnwindSafe for PluginInfo
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