[][src]Function grpcio_sys::grpc_tls_credentials_options_set_key_materials_config

pub unsafe extern "C" fn grpc_tls_credentials_options_set_key_materials_config(
    options: *mut grpc_tls_credentials_options,
    config: *mut grpc_tls_key_materials_config
) -> c_int

Set grpc_tls_key_materials_config field in credentials options with the provided config struct whose ownership is transferred. Both parameters should not be NULL. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.