Enum cosmwasm_std::IbcChannelConnectMsg [−][src]
#[non_exhaustive] pub enum IbcChannelConnectMsg { OpenAck { channel: IbcChannel, counterparty_version: String, }, OpenConfirm { channel: IbcChannel, }, }
Expand description
The message that is passed into ibc_channel_connect
Variants (Non-exhaustive)
This enum is marked as 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.
The ChanOpenAck step from https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#channel-lifecycle-management
Fields of OpenAck
channel: IbcChannel
counterparty_version: String
The ChanOpenConfirm step from https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#channel-lifecycle-management
Fields of OpenConfirm
channel: IbcChannel
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IbcChannelConnectMsg
impl Send for IbcChannelConnectMsg
impl Sync for IbcChannelConnectMsg
impl Unpin for IbcChannelConnectMsg
impl UnwindSafe for IbcChannelConnectMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self