pub enum SmartModuleWasmCompressed {
Raw(Vec<u8>),
Gzip(Vec<u8>),
}
👎Deprecated since 0.10.0: will be removed in the next version. Use SmartModuleInvocationWasm instead
Expand description
Different possible representations of WASM modules.
In a fetch request, a WASM module may be given directly in the request as raw bytes.
Variants§
Raw(Vec<u8>)
👎Deprecated since 0.10.0: will be removed in the next version. Use SmartModuleInvocationWasm instead
Gzip(Vec<u8>)
👎Deprecated since 0.10.0: will be removed in the next version. Use SmartModuleInvocationWasm instead
compressed WASM module payload using Gzip
Trait Implementations§
source§impl Clone for SmartModuleWasmCompressed
impl Clone for SmartModuleWasmCompressed
source§fn clone(&self) -> SmartModuleWasmCompressed
fn clone(&self) -> SmartModuleWasmCompressed
Returns a copy 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 SmartModuleWasmCompressed
impl Debug for SmartModuleWasmCompressed
source§impl Decoder for SmartModuleWasmCompressed
impl Decoder for SmartModuleWasmCompressed
source§impl Default for SmartModuleWasmCompressed
impl Default for SmartModuleWasmCompressed
source§impl Encoder for SmartModuleWasmCompressed
impl Encoder for SmartModuleWasmCompressed
Auto Trait Implementations§
impl Freeze for SmartModuleWasmCompressed
impl RefUnwindSafe for SmartModuleWasmCompressed
impl Send for SmartModuleWasmCompressed
impl Sync for SmartModuleWasmCompressed
impl Unpin for SmartModuleWasmCompressed
impl UnwindSafe for SmartModuleWasmCompressed
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