pub trait Query {
fn echo<'life0, 'async_trait>(
&'life0 self,
request: RequestEcho
) -> Pin<Box<dyn Future<Output = ResponseEcho> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
fn info<'life0, 'async_trait>(
&'life0 self,
_request: RequestInfo
) -> Pin<Box<dyn Future<Output = ResponseInfo> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
fn query<'life0, 'async_trait>(
&'life0 self,
_request: RequestQuery
) -> Pin<Box<dyn Future<Output = ResponseQuery> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: Sync + 'async_trait,
{ ... }
}
Expand description
Query, include echo
, info
and query
.