pub trait PortalRequestHandler: Send + Sync {
fn route_to_mesh<'life0, 'async_trait>(
&'life0 self,
request: Request
) -> Pin<Box<dyn Future<Output = Response> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn default_assign<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Assign, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn handle_assign_request<'life0, 'async_trait>(
&'life0 self,
request: AssignRequest
) -> Pin<Box<dyn Future<Output = Result<Assign, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn handle_artifact_request<'life0, 'async_trait>(
&'life0 self,
request: ArtifactRequest
) -> Pin<Box<dyn Future<Output = Result<ArtifactResponse, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn handle_config_request<'life0, 'async_trait>(
&'life0 self,
request: ArtifactRequest
) -> Pin<Box<dyn Future<Output = Result<ArtifactResponse, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
}