Trait espresso::bundle::poller::BundlePoller

source ·
pub trait BundlePoller {
    // Required methods
    fn poll<'life0, 'life1, 'async_trait>(
        &'life0 self,
        active_bundle: &'life1 Option<Bundle>,
    ) -> Pin<Box<dyn Future<Output = Result<PollResult>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn retrieve<'life0, 'life1, 'async_trait>(
        &'life0 self,
        bundle_id: &'life1 str,
        path: PathBuf,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn poll<'life0, 'life1, 'async_trait>( &'life0 self, active_bundle: &'life1 Option<Bundle>, ) -> Pin<Box<dyn Future<Output = Result<PollResult>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn retrieve<'life0, 'life1, 'async_trait>( &'life0 self, bundle_id: &'life1 str, path: PathBuf, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§