Enum wiggle::wasmtime_crate::ModuleVersionStrategy [−][src]
pub enum ModuleVersionStrategy {
WasmtimeVersion,
Custom(String),
None,
}
Expand description
Configure the strategy used for versioning in serializing and deserializing crate::Module
.
Variants
Use the wasmtime crate’s Cargo package version.
Custom(String)
Use a custom version string. Must be at most 255 bytes.
Tuple Fields of Custom
0: String
Emit no version string in serialization, and accept all version strings in deserialization.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ModuleVersionStrategy
impl Send for ModuleVersionStrategy
impl Sync for ModuleVersionStrategy
impl Unpin for ModuleVersionStrategy
impl UnwindSafe for ModuleVersionStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more