[−][src]Enum exonum::messages::CoreMessage
Subset of Exonum messages defined in the Exonum core.
This type is intentionally kept as minimal as possible to ensure compatibility
even if the consensus details change. Most of consensus messages are defined separately
in the exonum-node
crate; they are not public.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AnyTx(AnyTx)
Transaction message.
Precommit(Precommit)
Precommit message.
Trait Implementations
impl BinaryValue for CoreMessage
[src]
fn to_bytes(&self) -> Vec<u8>
[src]
fn from_bytes(value: Cow<[u8]>) -> Result<Self, Error>
[src]
fn into_bytes(self) -> Vec<u8>
[src]
impl Clone for CoreMessage
[src]
fn clone(&self) -> CoreMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CoreMessage
[src]
impl Eq for CoreMessage
[src]
impl From<AnyTx> for CoreMessage
[src]
impl From<Precommit> for CoreMessage
[src]
impl ObjectHash for CoreMessage
[src]
fn object_hash(&self) -> Hash
[src]
impl Ord for CoreMessage
[src]
fn cmp(&self, other: &CoreMessage) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CoreMessage> for CoreMessage
[src]
fn eq(&self, other: &CoreMessage) -> bool
[src]
fn ne(&self, other: &CoreMessage) -> bool
[src]
impl PartialOrd<CoreMessage> for CoreMessage
[src]
fn partial_cmp(&self, other: &CoreMessage) -> Option<Ordering>
[src]
fn lt(&self, other: &CoreMessage) -> bool
[src]
fn le(&self, other: &CoreMessage) -> bool
[src]
fn gt(&self, other: &CoreMessage) -> bool
[src]
fn ge(&self, other: &CoreMessage) -> bool
[src]
impl ProtobufConvert for CoreMessage
[src]
type ProtoStruct = CoreMessage
Type generated from the Protobuf definition.
fn to_pb(&self) -> Self::ProtoStruct
[src]
fn from_pb(pb: Self::ProtoStruct) -> Result<Self>
[src]
impl StructuralEq for CoreMessage
[src]
impl StructuralPartialEq for CoreMessage
[src]
impl TryFrom<CoreMessage> for AnyTx
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(msg: CoreMessage) -> Result<Self>
[src]
impl TryFrom<CoreMessage> for Precommit
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(msg: CoreMessage) -> Result<Self>
[src]
impl TryFrom<SignedMessage> for CoreMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for CoreMessage
impl Send for CoreMessage
impl Sync for CoreMessage
impl Unpin for CoreMessage
impl UnwindSafe for CoreMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,