pub trait Msg: Send + Sync + 'static {
    // Required methods
    fn create_vesting_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCreateVestingAccount>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCreateVestingAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_permanent_locked_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCreatePermanentLockedAccount>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCreatePermanentLockedAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_periodic_vesting_account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCreatePeriodicVestingAccount>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCreatePeriodicVestingAccountResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Available on crate feature grpc only.
Expand description

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

Required Methods§

source

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

source

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

source

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

Implementors§