Trait Msg

Source
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 'life0: 'async_trait,
             Self: '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 'life0: 'async_trait,
             Self: '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 'life0: 'async_trait,
             Self: 'async_trait;
}
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 'life0: 'async_trait, Self: '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 'life0: 'async_trait, Self: '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 'life0: 'async_trait, Self: 'async_trait,

Implementors§