Trait distant_core::LaunchHandler
source · [−]pub trait LaunchHandler: Send + Sync {
fn launch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
destination: &'life1 Destination,
options: &'life2 Map,
auth_client: &'life3 mut AuthClient
) -> Pin<Box<dyn Future<Output = Result<Destination>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait;
}
Expand description
Used to launch a server at the specified destination, returning some result as a vec of bytes
Required Methods
sourcefn launch<'life0, 'life1, 'life2, 'life3, 'async_trait>(