Enum scabbard::protos::scabbard::ScabbardMessage_Type [−][src]
pub enum ScabbardMessage_Type { UNSET, CONSENSUS_MESSAGE, PROPOSED_BATCH, NEW_BATCH, TOO_MANY_REQUESTS, ACCEPTING_REQUESTS, }
Variants
Trait Implementations
impl Clone for ScabbardMessage_Type
[src]
impl Clone for ScabbardMessage_Type
[src]fn clone(&self) -> ScabbardMessage_Type
[src]
fn clone(&self) -> ScabbardMessage_Type
[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 ScabbardMessage_Type
[src]
impl Debug for ScabbardMessage_Type
[src]impl Default for ScabbardMessage_Type
[src]
impl Default for ScabbardMessage_Type
[src]impl Hash for ScabbardMessage_Type
[src]
impl Hash for ScabbardMessage_Type
[src]impl ProtobufEnum for ScabbardMessage_Type
[src]
impl ProtobufEnum for ScabbardMessage_Type
[src]fn from_i32(value: i32) -> Option<ScabbardMessage_Type>
[src]
fn from_i32(value: i32) -> Option<ScabbardMessage_Type>
[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 ScabbardMessage_Type
[src]
impl ProtobufValue for ScabbardMessage_Type
[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 ScabbardMessage_Type
[src]
impl Eq for ScabbardMessage_Type
[src]
impl StructuralEq for ScabbardMessage_Type
[src]
impl StructuralPartialEq for ScabbardMessage_Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScabbardMessage_Type
impl Send for ScabbardMessage_Type
impl Sync for ScabbardMessage_Type
impl Unpin for ScabbardMessage_Type
impl UnwindSafe for ScabbardMessage_Type
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<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. Read more
impl<P, N> IntoBytes<P> for N where
P: Message + FromNative<N>,
[src]
impl<P, N> IntoBytes<P> for N where
P: Message + FromNative<N>,
[src]pub fn into_bytes(Self) -> Result<Vec<u8, Global>, ProtoConversionError>
[src]
impl<P, N> IntoBytes<P> for N where
P: Message + FromNative<N>,
[src]
impl<P, N> IntoBytes<P> for N where
P: Message + FromNative<N>,
[src]pub fn into_bytes(self) -> Result<Vec<u8, Global>, ProtoConversionError>
[src]
impl<N, P> IntoNative<N> for P where
N: FromProto<P>,
[src]
impl<N, P> IntoNative<N> for P where
N: FromProto<P>,
[src]pub fn into_native(Self) -> Result<N, ProtoConversionError>
[src]
impl<N, P> IntoNative<N> for P where
N: FromProto<P>,
[src]
impl<N, P> IntoNative<N> for P where
N: FromProto<P>,
[src]pub fn into_native(self) -> Result<N, ProtoConversionError>
[src]
impl<N, P> IntoProto<P> for N where
P: FromNative<N>,
[src]
impl<N, P> IntoProto<P> for N where
P: FromNative<N>,
[src]pub fn into_proto(Self) -> Result<P, ProtoConversionError>
[src]
impl<N, P> IntoProto<P> for N where
P: FromNative<N>,
[src]
impl<N, P> IntoProto<P> for N where
P: FromNative<N>,
[src]pub fn into_proto(self) -> Result<P, ProtoConversionError>
[src]
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
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
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,