client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

Implement AsRef<[u8]>, Borrow<[u8]>, and Deref<Target=[u8]> for Key

Open ADSteele916 opened this issue 5 months ago • 2 comments

These trait implementations make it easier to work with Key instances outputted by operations like scan and scan_keys without making unnecessary clones.

ADSteele916 avatar Jun 22 '25 17:06 ADSteele916

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign disksing for approval. For more information see the Code Review Process. Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

ti-chi-bot[bot] avatar Jun 22 '25 17:06 ti-chi-bot[bot]

Welcome @ADSteele916!

It looks like this is your first PR to tikv/client-rust 🎉.

I'm the bot to help you request reviewers, add labels and more, See available commands.

We want to make sure your contribution gets all the attention it needs!



Thank you, and welcome to tikv/client-rust. :smiley:

ti-chi-bot[bot] avatar Jun 22 '25 17:06 ti-chi-bot[bot]

@pingyu could you or another maintainer please take a look at this PR?

ADSteele916 avatar Sep 29 '25 19:09 ADSteele916