pub struct QuickJsPluginConfig {
pub name: String,
pub path: PathBuf,
pub priority: u32,
pub permissions: SandboxPermissions,
pub config: Value,
}Expand description
Configuration for loading a single QuickJS plugin.
Fields§
§name: String§path: PathBufPath to the .js plugin file.
priority: u32§permissions: SandboxPermissions§config: ValueAuto Trait Implementations§
impl Freeze for QuickJsPluginConfig
impl RefUnwindSafe for QuickJsPluginConfig
impl Send for QuickJsPluginConfig
impl Sync for QuickJsPluginConfig
impl Unpin for QuickJsPluginConfig
impl UnsafeUnpin for QuickJsPluginConfig
impl UnwindSafe for QuickJsPluginConfig
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