forked from apache/arrow-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Commands enum to decode prost messages to strong type (apac…
…he#3887) * feat: Add Commands enum to decode known messages to strong type * chore: paste needs to be a dependency * chore: rustfmt * Add docs and use Commands * chore: Rename to `Command`; impl TryFrom<Any> * chore: Add `into_any` and `type_url` API * Tweak documentation * fixup * clippy * feat: Add `Command::Unknown(Any)` variant * Updated `do_get` and `do_put` functions to use `Command` enum * Added test for Unknown variant * chore: placate clippy * chore: combine errors * chore: don't change error code --------- Co-authored-by: Andrew Lamb <[email protected]>
- Loading branch information
1 parent
901c061
commit e3f212c
Showing
3 changed files
with
224 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.