Skip to content

Commit

Permalink
remove non_exhaustive for client request and response
Browse files Browse the repository at this point in the history
  • Loading branch information
stevefan1999-personal committed Oct 9, 2024
1 parent 33b0b21 commit 305ac23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tarpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ pub enum ClientMessage<T> {

/// A request from a client to a server.
#[derive(Clone, Copy, Debug)]
#[non_exhaustive]
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
pub struct Request<T> {
/// Trace context, deadline, and other cross-cutting concerns.
Expand Down Expand Up @@ -360,7 +359,6 @@ impl RequestName for u64 {

/// A response from a server to a client.
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
#[non_exhaustive]
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
pub struct Response<T> {
/// The ID of the request being responded to.
Expand Down

0 comments on commit 305ac23

Please sign in to comment.