Enum webc::wasmer_package::Strictness
source · pub enum Strictness {
Lossy,
Strict,
}Expand description
The strictness to use when working with a
crate::wasmer_package::Package.
This can be useful when loading a package that may be edited interactively or if you just want to use a package and don’t care if the manifest is invalid.
Variants§
Trait Implementations§
source§impl Clone for Strictness
impl Clone for Strictness
source§fn clone(&self) -> Strictness
fn clone(&self) -> Strictness
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 Strictness
impl Debug for Strictness
source§impl Default for Strictness
impl Default for Strictness
source§fn default() -> Strictness
fn default() -> Strictness
Returns the “default value” for a type. Read more
source§impl PartialEq<Strictness> for Strictness
impl PartialEq<Strictness> for Strictness
source§fn eq(&self, other: &Strictness) -> bool
fn eq(&self, other: &Strictness) -> bool
This method tests for
self and other values to be equal, and is used
by ==.