Skip to content

Commit

Permalink
⚗️ Add tracing_msg::ClientHandshake
Browse files Browse the repository at this point in the history
  • Loading branch information
czy-29 committed Dec 14, 2024
1 parent aaf0bc3 commit 3f6126e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tracing-surreal/src/tracing_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ pub enum MsgFormat {
Bincode,
Msgpack,
}

#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)]
pub struct ClientHandshake {
msg_format: MsgFormat,
client_name: String,
proc_id: u32,
proc_name: String,
}

0 comments on commit 3f6126e

Please sign in to comment.