Skip to main content

GrpcHandler

Type Alias GrpcHandler 

Source
pub type GrpcHandler = Arc<dyn Fn(Vec<u8>) -> GrpcFuture + Send + Sync>;
Expand description

Thread-safe async unary gRPC service handler receiving decoded request payload bytes.

Aliased Typeยง

pub struct GrpcHandler { /* private fields */ }