pub enum PluginLoadResult {
Loaded {
name: String,
path: PathBuf,
},
Refused {
path: PathBuf,
refusal: PluginRefusal,
},
Failed {
path: PathBuf,
error: String,
},
}Expand description
Outcome of loading a single plugin library.
Variants§
Loaded
Plugin loaded and registered successfully.
Refused
The library was found and not loaded, because it was not built as this razeri was. None of its Rust code ran.
Failed
Library could not be loaded or registration failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginLoadResult
impl RefUnwindSafe for PluginLoadResult
impl Send for PluginLoadResult
impl Sync for PluginLoadResult
impl Unpin for PluginLoadResult
impl UnsafeUnpin for PluginLoadResult
impl UnwindSafe for PluginLoadResult
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