Trait subspace_farmer::farm::PlottedSectors

source ·
pub trait PlottedSectors:
    Send
    + Sync
    + Debug {
    // Required method
    fn get<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<PlottedSector, FarmError>> + Unpin + Send + '_>, FarmError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Getter for plotted sectors

Required Methods§

source

fn get<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<PlottedSector, FarmError>> + Unpin + Send + '_>, FarmError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get already plotted sectors

Implementors§