pub trait AppHandlerExecute: Send + Sync {
// Required methods
fn chan_open_init_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenInit,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn chan_open_try_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenTry,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn chan_open_ack_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenAck,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn chan_open_confirm_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenConfirm,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn chan_close_confirm_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelCloseConfirm,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn chan_close_init_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelCloseInit,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn recv_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgRecvPacket,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn timeout_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgTimeout,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
fn acknowledge_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgAcknowledgement,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where S: 'async_trait + StateWrite,
'life0: 'async_trait;
}
Available on crate feature
component
only.Required Methods§
fn chan_open_init_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenInit,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn chan_open_try_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenTry,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn chan_open_ack_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenAck,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn chan_open_confirm_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelOpenConfirm,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn chan_close_confirm_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelCloseConfirm,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn chan_close_init_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgChannelCloseInit,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn recv_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgRecvPacket,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn timeout_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgTimeout,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
fn acknowledge_packet_execute<'life0, 'async_trait, S>(
state: S,
msg: &'life0 MsgAcknowledgement,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
S: 'async_trait + StateWrite,
'life0: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.