Function grpcio_sys::grpc_local_credentials_create[][src]

pub unsafe extern "C" fn grpc_local_credentials_create(
    type_: grpc_local_connect_type
) -> *mut grpc_channel_credentials

This method creates a local channel credential object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose for now and subject to change.

It returns the created local channel credential object.