penumbra_proto::noble::forwarding::v1::msg_server

Trait Msg

source
pub trait Msg:
    Send
    + Sync
    + 'static {
    // Required methods
    fn register_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgRegisterAccount>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn clear_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgClearAccount>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgClearAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Available on crate feature rpc only.
Expand description

Generated trait containing gRPC methods that should be implemented for use with MsgServer.

Required Methods§

source

fn register_account<'life0, 'async_trait>( &'life0 self, request: Request<MsgRegisterAccount>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn clear_account<'life0, 'async_trait>( &'life0 self, request: Request<MsgClearAccount>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgClearAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§