Trait espresso::bundle::poller::BundlePoller
source · pub trait BundlePoller {
fn poll<'life0, 'life1, 'async_trait>(
&'life0 self,
active_bundle: &'life1 Option<Bundle>
) -> Pin<Box<dyn Future<Output = Result<PollResult>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}