Trait RemoteProcessAllocInitializer

Source
pub trait RemoteProcessAllocInitializer {
    // Required method
    fn initialize_alloc<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RemoteProcessAllocHost>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Interface to provide the set of hosts to be used by RemoteProcessAlloc.

Required Methods§

Source

fn initialize_alloc<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Vec<RemoteProcessAllocHost>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Initializes and returns a list of hosts to be used by this RemoteProcessAlloc.

Implementors§

Source§

impl RemoteProcessAllocInitializer for MockRemoteProcessAllocInitializer

Interface to provide the set of hosts to be used by RemoteProcessAlloc.