Enum ibc_proto::ibc::lightclients::solomachine::v1::DataType
source · #[repr(i32)]
pub enum DataType {
UninitializedUnspecified,
ClientState,
ConsensusState,
ConnectionState,
ChannelState,
PacketCommitment,
PacketAcknowledgement,
PacketReceiptAbsence,
NextSequenceRecv,
Header,
}
Expand description
DataType defines the type of solo machine proof being created. This is done to preserve uniqueness of different data sign byte encodings.
Variants§
UninitializedUnspecified
Default State
ClientState
Data type for client state verification
ConsensusState
Data type for consensus state verification
ConnectionState
Data type for connection state verification
ChannelState
Data type for channel state verification
PacketCommitment
Data type for packet commitment verification
PacketAcknowledgement
Data type for packet acknowledgement verification
PacketReceiptAbsence
Data type for packet receipt absence verification
NextSequenceRecv
Data type for next sequence recv verification
Header
Data type for header verification
Implementations§
Trait Implementations§
source§impl Ord for DataType
impl Ord for DataType
source§impl PartialEq<DataType> for DataType
impl PartialEq<DataType> for DataType
source§impl PartialOrd<DataType> for DataType
impl PartialOrd<DataType> for DataType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request