Feature/client encryption #18

Closed
michael-bailey wants to merge 28 commits from feature/client_encryption into master
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 4e91c4d660 - Show all commits

View File

@ -7,7 +7,7 @@ use uuid::Uuid;
/// This enum defined the message that a client can receive from the server
/// This uses the serde library to transform to and from json.
///
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone)]
#[serde(tag = "type")]
pub enum ClientStreamIn {
Connected,
@ -19,7 +19,7 @@ pub enum ClientStreamIn {
Disconnect,
}
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone)]
#[serde(tag = "type")]
pub enum ClientStreamOut {
Connected,

View File

@ -1,6 +1,6 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone)]
#[serde(tag = "type")]
pub enum NetworkSockIn {
Info,
@ -11,7 +11,7 @@ pub enum NetworkSockIn {
},
}
#[derive(Serialize, Deserialize)]
#[derive(Serialize, Deserialize, Clone)]
#[serde(tag = "type")]
pub enum NetworkSockOut<'a> {
Request,