Enum protos::sp_info::ClientType
source · pub enum ClientType {
CLIENT_TYPE_UNSET = 0,
CLIENT_TYPE_SDK = 1,
CLIENT_TYPE_SHIM = 2,
}Variants§
Trait Implementations§
source§impl Clone for ClientType
impl Clone for ClientType
source§fn clone(&self) -> ClientType
fn clone(&self) -> ClientType
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 ClientType
impl Debug for ClientType
source§impl Default for ClientType
impl Default for ClientType
source§impl Enum for ClientType
impl Enum for ClientType
source§fn from_i32(value: i32) -> Option<ClientType>
fn from_i32(value: i32) -> Option<ClientType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§fn from_str(str: &str) -> Option<ClientType>
fn from_str(str: &str) -> Option<ClientType>
Try to create an enum from
&str value.
Return None if str is unknown.source§const VALUES: &'static [ClientType] = _
const VALUES: &'static [ClientType] = _
All enum values for enum type.
source§impl EnumFull for ClientType
impl EnumFull for ClientType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for ClientType
impl Hash for ClientType
source§impl PartialEq for ClientType
impl PartialEq for ClientType
source§fn eq(&self, other: &ClientType) -> bool
fn eq(&self, other: &ClientType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ClientType
impl Eq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations§
impl Freeze for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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