[−][src]Trait fbthrift_git::processor::ThriftService
Associated Types
type Handler
type RequestContext
Required methods
#[must_use]fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
req: FramingDecoded<F>,
req_ctxt: &'life1 Self::RequestContext
) -> Pin<Box<dyn Future<Output = Result<FramingEncodedFinal<F>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
req: FramingDecoded<F>,
req_ctxt: &'life1 Self::RequestContext
) -> Pin<Box<dyn Future<Output = Result<FramingEncodedFinal<F>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl<F, T: ?Sized> ThriftService<F> for Box<T> where
T: ThriftService<F> + Send + Sync,
F: Framing + Send + 'static,
T::RequestContext: Send + Sync + 'static,
[src]
T: ThriftService<F> + Send + Sync,
F: Framing + Send + 'static,
T::RequestContext: Send + Sync + 'static,
type Handler = T::Handler
type RequestContext = T::RequestContext
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
req: FramingDecoded<F>,
req_ctxt: &'life1 Self::RequestContext
) -> Pin<Box<dyn Future<Output = Result<FramingEncodedFinal<F>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
req: FramingDecoded<F>,
req_ctxt: &'life1 Self::RequestContext
) -> Pin<Box<dyn Future<Output = Result<FramingEncodedFinal<F>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementors
impl<P, R> ThriftService<<P as Protocol>::Frame> for NullServiceProcessor<P, R> where
P: Protocol + Send + Sync + 'static,
P::Frame: Send + 'static,
R: Send + Sync + 'static,
[src]
P: Protocol + Send + Sync + 'static,
P::Frame: Send + 'static,
R: Send + Sync + 'static,
type Handler = ()
type RequestContext = R
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
req: ProtocolDecoded<P>,
_ctxt: &'life1 R
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
req: ProtocolDecoded<P>,
_ctxt: &'life1 R
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,