We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Code
1 parent e623562 commit 6bc7dabCopy full SHA for 6bc7dab
tonic/src/status.rs
@@ -53,7 +53,7 @@ pub struct Status {
53
/// These variants match the [gRPC status codes].
54
///
55
/// [gRPC status codes]: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md#status-codes-and-their-use-in-grpc
56
-#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
57
pub enum Code {
58
/// The operation completed successfully.
59
Ok = 0,
0 commit comments