pub enum PackageRuntime {
Rust,
Python,
}Expand description
Plugin runtime kind. Determines which loader the host’s PluginHost
dispatches to.
Variants§
Rust
Default. Plugin is a cdylib + PluginRegistry. Loaded by the existing
dylib loader in fidius-host.
Python
Plugin is a directory of .py files (+ optional vendor/) loaded by
fidius-python via an embedded interpreter. Requires the host crate
to enable the python feature.
Implementations§
Trait Implementations§
Source§impl Clone for PackageRuntime
impl Clone for PackageRuntime
Source§fn clone(&self) -> PackageRuntime
fn clone(&self) -> PackageRuntime
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 moreSource§impl Debug for PackageRuntime
impl Debug for PackageRuntime
Source§impl Display for PackageRuntime
impl Display for PackageRuntime
Source§impl PartialEq for PackageRuntime
impl PartialEq for PackageRuntime
impl Copy for PackageRuntime
impl Eq for PackageRuntime
impl StructuralPartialEq for PackageRuntime
Auto Trait Implementations§
impl Freeze for PackageRuntime
impl RefUnwindSafe for PackageRuntime
impl Send for PackageRuntime
impl Sync for PackageRuntime
impl Unpin for PackageRuntime
impl UnsafeUnpin for PackageRuntime
impl UnwindSafe for PackageRuntime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.