Home
last modified time | relevance | path

Searched refs:RpcContext (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio/src/
Dserver.rs24 use crate::RpcContext;
43 fn handle(&mut self, ctx: RpcContext<'_>, reqs: Option<MessageReader>); in handle()
50 F: FnMut(RpcContext<'_>, Option<MessageReader>) + Send + Clone,
53 fn handle(&mut self, ctx: RpcContext<'_>, reqs: Option<MessageReader>) { in handle()
189 F: FnMut(RpcContext<'_>, Req, UnarySink<Resp>) + Send + Clone + 'static, in add_unary_handler()
192 let h = move |ctx: RpcContext<'_>, payload: Option<MessageReader>| { in add_unary_handler()
209 F: FnMut(RpcContext<'_>, RequestStream<Req>, ClientStreamingSink<Resp>) in add_client_streaming_handler()
215 let h = move |ctx: RpcContext<'_>, _: Option<MessageReader>| { in add_client_streaming_handler()
232 F: FnMut(RpcContext<'_>, Req, ServerStreamingSink<Resp>) + Send + Clone + 'static, in add_server_streaming_handler()
235 let h = move |ctx: RpcContext<'_>, payload: Option<MessageReader>| { in add_server_streaming_handler()
[all …]
Dlib.rs53 RequestStream, RpcContext, ServerStreamingSink, ServerStreamingSinkFailure, UnarySink,
/external/rust/crates/grpcio/src/call/
Dserver.rs615 pub struct RpcContext<'a> { struct
621 impl<'a> RpcContext<'a> { argument
622 fn new(ctx: RequestContext, cq: &CompletionQueue) -> RpcContext<'_> { in new()
623 RpcContext { in new()
693 ctx: RpcContext<'_>, in execute_unary()
699 F: FnMut(RpcContext<'_>, P, UnarySink<Q>), in execute_unary()
720 ctx: RpcContext<'_>, in execute_client_streaming()
725 F: FnMut(RpcContext<'_>, RequestStream<P>, ClientStreamingSink<Q>), in execute_client_streaming()
738 ctx: RpcContext<'_>, in execute_server_streaming()
744 F: FnMut(RpcContext<'_>, P, ServerStreamingSink<Q>), in execute_server_streaming()
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/
Dface.py147 class RpcContext(six.with_metaclass(abc.ABCMeta)): class
195 class Call(six.with_metaclass(abc.ABCMeta, RpcContext)):
251 class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)):
/external/grpc-grpc/src/python/grpcio/grpc/
D__init__.py247 class RpcContext(six.with_metaclass(abc.ABCMeta)): class
298 class Call(six.with_metaclass(abc.ABCMeta, RpcContext)):
948 class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)):