Struct grpcio::EnvBuilder[][src]

pub struct EnvBuilder { /* fields omitted */ }

Environment factory in order to configure the properties.

Methods

impl EnvBuilder
[src]

Initialize a new EnvBuilder.

Set the number of completion queues and polling threads. Each thread polls one completion queue.

Panics

This method will panic if count is 0.

Set the thread name prefix of each polling thread.

Finalize the EnvBuilder, build the Environment and initialize the gRPC library.

Auto Trait Implementations

impl Send for EnvBuilder

impl Sync for EnvBuilder