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 mut [u8]
[src]

Important traits for &'a mut [u8]
[src]

[src]

[src]

Get the initial metadata sent by client.

[src]

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.

Trait Implementations

Auto Trait Implementations

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

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