Trait ibc_proto::ibc::core::connection::v1::msg_server::Msg
source · pub trait Msg: Send + Sync + 'static {
// Required methods
fn connection_open_init<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenInit>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenInitResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn connection_open_try<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenTry>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenTryResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn connection_open_ack<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenAck>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenAckResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn connection_open_confirm<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenConfirm>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenConfirmResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods§
sourcefn connection_open_init<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenInit>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenInitResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_open_init<'life0, 'async_trait>( &'life0 self, request: Request<MsgConnectionOpenInit> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenInitResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.
sourcefn connection_open_try<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenTry>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenTryResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_open_try<'life0, 'async_trait>( &'life0 self, request: Request<MsgConnectionOpenTry> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenTryResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.
sourcefn connection_open_ack<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenAck>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenAckResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_open_ack<'life0, 'async_trait>( &'life0 self, request: Request<MsgConnectionOpenAck> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenAckResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.
sourcefn connection_open_confirm<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgConnectionOpenConfirm>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenConfirmResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_open_confirm<'life0, 'async_trait>( &'life0 self, request: Request<MsgConnectionOpenConfirm> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConnectionOpenConfirmResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.