pub struct LoadedPlugin { /* private fields */ }Expand description
A successfully loaded plugin: its library, metadata, host adapter, and id.
The library is owned here so that dropping a LoadedPlugin runs dlclose
after the adapter (and any instantiated node) has been released, preventing
use-after-unload.
Implementations§
Source§impl LoadedPlugin
impl LoadedPlugin
Auto Trait Implementations§
impl !RefUnwindSafe for LoadedPlugin
impl !UnwindSafe for LoadedPlugin
impl Freeze for LoadedPlugin
impl Send for LoadedPlugin
impl Sync for LoadedPlugin
impl Unpin for LoadedPlugin
impl UnsafeUnpin for LoadedPlugin
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