Enum protos::sp_common::TailResponseType
source · pub enum TailResponseType {
TAIL_RESPONSE_TYPE_UNSET = 0,
TAIL_RESPONSE_TYPE_PAYLOAD = 1,
TAIL_RESPONSE_TYPE_ERROR = 2,
}Variants§
Trait Implementations§
source§impl Clone for TailResponseType
impl Clone for TailResponseType
source§fn clone(&self) -> TailResponseType
fn clone(&self) -> TailResponseType
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 TailResponseType
impl Debug for TailResponseType
source§impl Default for TailResponseType
impl Default for TailResponseType
source§impl Enum for TailResponseType
impl Enum for TailResponseType
source§const NAME: &'static str = "TailResponseType"
const NAME: &'static str = "TailResponseType"
Enum name as specified in
.proto file. Read moresource§fn from_i32(value: i32) -> Option<TailResponseType>
fn from_i32(value: i32) -> Option<TailResponseType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§fn from_str(str: &str) -> Option<TailResponseType>
fn from_str(str: &str) -> Option<TailResponseType>
Try to create an enum from
&str value.
Return None if str is unknown.source§const VALUES: &'static [TailResponseType] = _
const VALUES: &'static [TailResponseType] = _
All enum values for enum type.
source§impl EnumFull for TailResponseType
impl EnumFull for TailResponseType
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 TailResponseType
impl Hash for TailResponseType
source§impl PartialEq for TailResponseType
impl PartialEq for TailResponseType
source§fn eq(&self, other: &TailResponseType) -> bool
fn eq(&self, other: &TailResponseType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TailResponseType
impl Eq for TailResponseType
impl StructuralEq for TailResponseType
impl StructuralPartialEq for TailResponseType
Auto Trait Implementations§
impl RefUnwindSafe for TailResponseType
impl Send for TailResponseType
impl Sync for TailResponseType
impl Unpin for TailResponseType
impl UnwindSafe for TailResponseType
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