Struct grpcio::Environment[][src]

pub struct Environment { /* fields omitted */ }

An object that used to control concurrency and start event loop.

Methods

impl Environment
[src]

Initialize grpc and create a threadpool to poll event loop.

Each thread in threadpool will have one event loop.

Important traits for &'a [u8]

Get all the created completion queues.

Pick an arbitrary completion queue.

Trait Implementations

impl Drop for Environment
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Environment

impl Sync for Environment