Trait cosmos_sdk_proto::cosmos::vesting::v1beta1::msg_server::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 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.