Skip to main content

DirectiveHydromancerFeed

Trait DirectiveHydromancerFeed 

Source
pub trait DirectiveHydromancerFeed: Send + Sync {
    // Required methods
    fn add_account<'life0, 'async_trait>(
        &'life0 self,
        account: WalletAddress,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn wait_for_fills<'life0, 'life1, 'async_trait>(
        &'life0 self,
        account: &'life1 WalletAddress,
        timeout: Duration,
    ) -> Pin<Box<dyn Future<Output = Vec<DirectiveHydromancerFill>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn add_account<'life0, 'async_trait>( &'life0 self, account: WalletAddress, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn wait_for_fills<'life0, 'life1, 'async_trait>( &'life0 self, account: &'life1 WalletAddress, timeout: Duration, ) -> Pin<Box<dyn Future<Output = Vec<DirectiveHydromancerFill>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§