sui_cluster_test::faucet

Trait FaucetClient

Source
pub trait FaucetClient {
    // Required methods
    fn request_sui_coins<'life0, 'async_trait>(
        &'life0 self,
        request_address: SuiAddress,
    ) -> Pin<Box<dyn Future<Output = FaucetResponse> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn batch_request_sui_coins<'life0, 'async_trait>(
        &'life0 self,
        request_address: SuiAddress,
    ) -> Pin<Box<dyn Future<Output = BatchFaucetResponse> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_batch_send_status<'life0, 'async_trait>(
        &'life0 self,
        task_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = BatchStatusFaucetResponse> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Faucet Client abstraction

Required Methods§

Source

fn request_sui_coins<'life0, 'async_trait>( &'life0 self, request_address: SuiAddress, ) -> Pin<Box<dyn Future<Output = FaucetResponse> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn batch_request_sui_coins<'life0, 'async_trait>( &'life0 self, request_address: SuiAddress, ) -> Pin<Box<dyn Future<Output = BatchFaucetResponse> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_batch_send_status<'life0, 'async_trait>( &'life0 self, task_id: Uuid, ) -> Pin<Box<dyn Future<Output = BatchStatusFaucetResponse> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§