Trait PortalRequestHandler
Source pub trait PortalRequestHandler: Send + Sync {
// Required method
fn route_to_mesh<'life0, 'async_trait>(
&'life0 self,
request: Request,
) -> Pin<Box<dyn Future<Output = Response> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn default_assign<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Assign, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: '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 Self: 'async_trait,
'life0: '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 Self: 'async_trait,
'life0: '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 Self: 'async_trait,
'life0: 'async_trait { ... }
}