Struct grpcio::RpcContext[][src]

pub struct RpcContext<'a> { /* fields omitted */ }

A context for rpc handling.

Methods

impl<'a> RpcContext<'a>
[src]

Important traits for &'a [u8]

Important traits for &'a [u8]

Get the initial metadata sent by client.

Spawn the future into current gRPC poll thread.

This can reduce a lot of context switching, but please make sure there is no heavy work in the future.

Auto Trait Implementations

impl<'a> !Send for RpcContext<'a>

impl<'a> !Sync for RpcContext<'a>