pub enum WasmMethod {
W_TEST = 0,
W_HTTP = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for WasmMethod
impl Clone for WasmMethod
Source§fn clone(&self) -> WasmMethod
fn clone(&self) -> WasmMethod
Returns a duplicate 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 WasmMethod
impl Debug for WasmMethod
Source§impl Default for WasmMethod
impl Default for WasmMethod
Source§impl From<WasmMethod> for Method
impl From<WasmMethod> for Method
Source§fn from(m: WasmMethod) -> Self
fn from(m: WasmMethod) -> Self
Converts to this type from the input type.
Source§impl Hash for WasmMethod
impl Hash for WasmMethod
Source§impl PartialEq for WasmMethod
impl PartialEq for WasmMethod
Source§impl ProtobufEnum for WasmMethod
impl ProtobufEnum for WasmMethod
Source§fn from_i32(value: i32) -> Option<WasmMethod>
fn from_i32(value: i32) -> Option<WasmMethod>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for WasmMethod
impl ProtobufValue for WasmMethod
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for WasmMethod
impl Eq for WasmMethod
impl StructuralPartialEq for WasmMethod
Auto Trait Implementations§
impl Freeze for WasmMethod
impl RefUnwindSafe for WasmMethod
impl Send for WasmMethod
impl Sync for WasmMethod
impl Unpin for WasmMethod
impl UnwindSafe for WasmMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.