pub struct WasmPluginContainer {
pub id: String,
pub module_path: PathBuf,
pub entrypoint: String,
pub max_execution_ms: u64,
pub max_memory_mb: u32,
pub allow_network: bool,
pub allow_fs_write: bool,
}Fields§
§id: String§module_path: PathBuf§entrypoint: String§max_execution_ms: u64§max_memory_mb: u32§allow_network: bool§allow_fs_write: boolImplementations§
Trait Implementations§
Source§impl Clone for WasmPluginContainer
impl Clone for WasmPluginContainer
Source§fn clone(&self) -> WasmPluginContainer
fn clone(&self) -> WasmPluginContainer
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 WasmPluginContainer
impl Debug for WasmPluginContainer
Source§impl<'de> Deserialize<'de> for WasmPluginContainer
impl<'de> Deserialize<'de> for WasmPluginContainer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WasmPluginContainer
impl RefUnwindSafe for WasmPluginContainer
impl Send for WasmPluginContainer
impl Sync for WasmPluginContainer
impl Unpin for WasmPluginContainer
impl UnsafeUnpin for WasmPluginContainer
impl UnwindSafe for WasmPluginContainer
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<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read more