Struct grpcio::Environment [] [src]

pub struct Environment { /* fields omitted */ }

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

Methods

impl Environment
[src]

[src]

Initialize grpc and create a threadpool to poll event loop.

Each thread in threadpool will have one event loop.

[src]

Get all the created completion queues.

[src]

Pick an arbitrary completion queue.

Trait Implementations

impl Drop for Environment
[src]

[src]

Executes the destructor for this type. Read more