Function grpcio_sys::grpc_tls_credentials_options_set_certificate_provider [−][src]
pub unsafe extern "C" fn grpc_tls_credentials_options_set_certificate_provider(
options: *mut grpc_tls_credentials_options,
provider: *mut grpc_tls_certificate_provider
)
Sets the credential provider in the options. The |options| will implicitly take a new ref to the |provider|. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.