Enum near_parameters::vm::VMKind
source · pub enum VMKind {
Wasmer0,
Wasmtime,
Wasmer2,
NearVm,
}
Variants§
Implementations§
source§impl VMKind
impl VMKind
pub fn replace_with_wasmtime_if_unsupported(self) -> Self
Trait Implementations§
source§impl BorshSerialize for VMKind
impl BorshSerialize for VMKind
source§impl<'de> Deserialize<'de> for VMKind
impl<'de> Deserialize<'de> for VMKind
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
source§impl PartialEq for VMKind
impl PartialEq for VMKind
impl Copy for VMKind
impl Eq for VMKind
impl StructuralEq for VMKind
impl StructuralPartialEq for VMKind
Auto Trait Implementations§
impl RefUnwindSafe for VMKind
impl Send for VMKind
impl Sync for VMKind
impl Unpin for VMKind
impl UnwindSafe for VMKind
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.