pub struct WasmPluginConfig {
pub path: String,
pub config: Option<String>,
}Expand description
One Proxy-Wasm plugin: a .wasm path plus an opaque configuration string passed to the
guest’s proxy_on_configure.
Fields§
§path: String§config: Option<String>Trait Implementations§
Source§impl Clone for WasmPluginConfig
impl Clone for WasmPluginConfig
Source§fn clone(&self) -> WasmPluginConfig
fn clone(&self) -> WasmPluginConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WasmPluginConfig
impl Debug for WasmPluginConfig
Source§impl Default for WasmPluginConfig
impl Default for WasmPluginConfig
Source§fn default() -> WasmPluginConfig
fn default() -> WasmPluginConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WasmPluginConfig
impl<'de> Deserialize<'de> for WasmPluginConfig
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 WasmPluginConfig
impl RefUnwindSafe for WasmPluginConfig
impl Send for WasmPluginConfig
impl Sync for WasmPluginConfig
impl Unpin for WasmPluginConfig
impl UnsafeUnpin for WasmPluginConfig
impl UnwindSafe for WasmPluginConfig
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