Enum grpcio_proto::testing::control::ClientType [−][src]
pub enum ClientType { SYNC_CLIENT, ASYNC_CLIENT, OTHER_CLIENT, }
Variants
Trait Implementations
impl Clone for ClientType
[src]
impl Clone for ClientType
[src]fn clone(&self) -> ClientType
[src]
fn clone(&self) -> ClientType
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ClientType
[src]
impl Debug for ClientType
[src]impl Default for ClientType
[src]
impl Default for ClientType
[src]impl Hash for ClientType
[src]
impl Hash for ClientType
[src]impl PartialEq<ClientType> for ClientType
[src]
impl PartialEq<ClientType> for ClientType
[src]impl ProtobufEnum for ClientType
[src]
impl ProtobufEnum for ClientType
[src]fn from_i32(value: i32) -> Option<ClientType>
[src]
fn from_i32(value: i32) -> Option<ClientType>
[src]Try to create an enum from i32
value.
Return None
if value is unknown. Read more
fn values() -> &'static [Self]
[src]
fn values() -> &'static [Self]
[src]Get all enum values for enum type.
fn enum_descriptor_static() -> &'static EnumDescriptor
[src]
fn enum_descriptor_static() -> &'static EnumDescriptor
[src]Get enum descriptor by type.
fn descriptor(&self) -> &'static EnumValueDescriptor
[src]
fn descriptor(&self) -> &'static EnumValueDescriptor
[src]Get enum value descriptor.
fn enum_descriptor(&self) -> &'static EnumDescriptor
[src]
fn enum_descriptor(&self) -> &'static EnumDescriptor
[src]Get enum descriptor.
impl ProtobufValue for ClientType
[src]
impl ProtobufValue for ClientType
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]As ref
fn is_non_zero(&self) -> bool
[src]
fn is_non_zero(&self) -> bool
[src]Is value non-zero?
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]Return ProtobufValueRef
if self is Copy
. Read more
impl Copy for ClientType
[src]
impl Eq for ClientType
[src]
impl StructuralEq for ClientType
[src]
impl StructuralPartialEq for ClientType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more