[][src]Struct grpcio::ServerCredentialsBuilder

pub struct ServerCredentialsBuilder { /* fields omitted */ }

ServerCredentials factory in order to configure the properties.

Methods

impl ServerCredentialsBuilder
[src]

Initialize a new ServerCredentialsBuilder.

Set the PEM encoded client root certificate to verify client's identity. If force_client_auth is set to true, the authenticity of client check will be enforced.

Add a PEM encoded server side certificate and key.

Finalize the ServerCredentialsBuilder and build the ServerCredentials.

Trait Implementations

impl Drop for ServerCredentialsBuilder
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]