Enum abstract_cw_multi_test::ibc::IbcModuleMsg
source · pub enum IbcModuleMsg {
ChannelOpen(IbcChannelOpenMsg),
ChannelConnect(IbcChannelConnectMsg),
ChannelClose(IbcChannelCloseMsg),
PacketReceive(IbcPacketReceiveMsg),
PacketAcknowledgement(IbcPacketAckMsg),
PacketTimeout(IbcPacketTimeoutMsg),
}Expand description
This is added for modules to implement actions upon ibc actions. This kind of execution flow is copied from the WASM way of doing things and is not 100% completetely compatible with the IBC standard Those messages should only be called by the Ibc module. For additional Modules, the packet endpoints should be implemented The Channel endpoints are usually not implemented besides storing the channel ids
Variants§
ChannelOpen(IbcChannelOpenMsg)
Open an IBC Channel (2 first steps)
ChannelConnect(IbcChannelConnectMsg)
Connect an IBC Channel (2 last steps)
ChannelClose(IbcChannelCloseMsg)
Close an IBC Channel
PacketReceive(IbcPacketReceiveMsg)
Receive an IBC Packet
PacketAcknowledgement(IbcPacketAckMsg)
Receive an IBC Acknowledgement for a packet
PacketTimeout(IbcPacketTimeoutMsg)
Receive an IBC Timeout for a packet
Trait Implementations§
source§impl Clone for IbcModuleMsg
impl Clone for IbcModuleMsg
source§fn clone(&self) -> IbcModuleMsg
fn clone(&self) -> IbcModuleMsg
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 IbcModuleMsg
impl Debug for IbcModuleMsg
source§impl<'de> Deserialize<'de> for IbcModuleMsg
impl<'de> Deserialize<'de> for IbcModuleMsg
source§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
source§impl JsonSchema for IbcModuleMsg
impl JsonSchema for IbcModuleMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq for IbcModuleMsg
impl PartialEq for IbcModuleMsg
source§fn eq(&self, other: &IbcModuleMsg) -> bool
fn eq(&self, other: &IbcModuleMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IbcModuleMsg
impl Serialize for IbcModuleMsg
impl StructuralPartialEq for IbcModuleMsg
Auto Trait Implementations§
impl Freeze for IbcModuleMsg
impl RefUnwindSafe for IbcModuleMsg
impl Send for IbcModuleMsg
impl Sync for IbcModuleMsg
impl Unpin for IbcModuleMsg
impl UnwindSafe for IbcModuleMsg
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more