tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.81k stars 253 forks source link

Add methods taking file descriptor as OwnedFd. #641

Closed qwandor closed 6 months ago

qwandor commented 12 months ago

The OwnedFd type confers ownership of the file descriptor, so these can be safe methods rather than relying on the caller not to use the file descriptor anywhere else after making the call.

qwandor commented 11 months ago

Thanks for the review! Can you merge the PR too? The CI failures are all existing issues as far as I can see, not changed by this PR.

BusyJay commented 6 months ago

Thanks!