pub struct BundledPlugin {
pub name: String,
pub version: String,
pub runtime: String,
pub manifest: Value,
pub module: Option<Vec<u8>>,
pub dir: String,
}Expand description
A plugin shipped in the bundle.
Fields§
§name: String§version: String§runtime: Stringwasm, process or http.
manifest: ValueThe plugin manifest (plugins/<name>/graphrt-plugin.json).
module: Option<Vec<u8>>Module bytes for WebAssembly plugins.
dir: StringDirectory of the plugin inside the bundle (plugins/<name>).
Implementations§
Source§impl BundledPlugin
impl BundledPlugin
Sourcepub fn is_portable(&self) -> bool
pub fn is_portable(&self) -> bool
Whether the plugin runs on every host (WebAssembly only).
Trait Implementations§
Source§impl Clone for BundledPlugin
impl Clone for BundledPlugin
Auto Trait Implementations§
impl Forget for BundledPlugin
impl Freeze for BundledPlugin
impl Move for BundledPlugin
impl RefUnwindSafe for BundledPlugin
impl Send for BundledPlugin
impl Sync for BundledPlugin
impl Unpin for BundledPlugin
impl UnsafeUnpin for BundledPlugin
impl UnwindSafe for BundledPlugin
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