Trait filament_app::query::Respond
source · pub trait Respond<S> {
type Key: Serialize;
type Response: Serialize + Send + Sync;
// Required method
fn respond<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 S
) -> Pin<Box<dyn Future<Output = Result<(Self::Key, Self::Response)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}