Enum abstract_os::ibc_host::HostAction
source · [−]pub enum HostAction {
App {
msg: Binary,
},
Dispatch {
msgs: Vec<CosmosMsg<Empty>>,
},
Query {
msgs: Vec<QueryRequest<Empty>>,
},
SendAllBack {
os_proxy_address: Option<String>,
},
Balances {},
Internal(InternalAction),
}Expand description
Callable actions on a remote host
Variants
App
Fields
msg: BinaryDispatch
Query
Fields
msgs: Vec<QueryRequest<Empty>>SendAllBack
Fill with Option::None on call. Gets filled by IBC client.
Balances
Fields
Internal(InternalAction)
Can’t be called through the packet endpoint directly
Implementations
sourceimpl HostAction
impl HostAction
pub fn into_packet(
self,
os_id: u32,
retries: u8,
client_chain: String,
callback_info: Option<CallbackInfo>
) -> PacketMsg
Trait Implementations
sourceimpl Clone for HostAction
impl Clone for HostAction
sourcefn clone(&self) -> HostAction
fn clone(&self) -> HostAction
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HostAction
impl Debug for HostAction
sourceimpl<'de> Deserialize<'de> for HostAction
impl<'de> Deserialize<'de> for HostAction
sourcefn 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
sourceimpl JsonSchema for HostAction
impl JsonSchema for HostAction
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 moresourceimpl PartialEq<HostAction> for HostAction
impl PartialEq<HostAction> for HostAction
sourcefn eq(&self, other: &HostAction) -> bool
fn eq(&self, other: &HostAction) -> bool
sourceimpl Serialize for HostAction
impl Serialize for HostAction
impl StructuralPartialEq for HostAction
Auto Trait Implementations
impl RefUnwindSafe for HostAction
impl Send for HostAction
impl Sync for HostAction
impl Unpin for HostAction
impl UnwindSafe for HostAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more