Trait BinarySourceFetcher

Source
pub trait BinarySourceFetcher: Send + Sync {
    // Required methods
    fn get_binary<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<PathBuf>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn blueprint_id(&self) -> u64;
    fn name(&self) -> String;
}

Required Methods§

Source

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

Source

fn blueprint_id(&self) -> u64

Source

fn name(&self) -> String

Implementations on Foreign Types§

Source§

impl<T: BinarySourceFetcher + ?Sized> BinarySourceFetcher for Box<T>
where Box<T>: Send + Sync,

Source§

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

Source§

fn blueprint_id(&self) -> u64

Source§

fn name(&self) -> String

Implementors§