aboutsummaryrefslogtreecommitdiff
path: root/src/message/handshake/types.rs
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-04-05 18:03:46 +0200
committerMax Audron <audron@cocaine.farm>2021-04-05 18:03:46 +0200
commitd7488b8040278c2cf9cd1b1eead206efe408cd9f (patch)
tree1188190a730e6c0d4277c588545c5ff557afb3cd /src/message/handshake/types.rs
parentWIP: impl signalproxy types (diff)
WIP: impl more signalproxy objects
Diffstat (limited to 'src/message/handshake/types.rs')
-rw-r--r--src/message/handshake/types.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/message/handshake/types.rs b/src/message/handshake/types.rs
index 24d847b..e9e6469 100644
--- a/src/message/handshake/types.rs
+++ b/src/message/handshake/types.rs
@@ -7,11 +7,10 @@ use failure::Error;
use crate::error::ProtocolError;
use crate::primitive::Variant;
use crate::util;
-use crate::Deserialize;
-use crate::Serialize;
+use crate::{deserialize::Deserialize, serialize::Serialize};
+use crate::message::handshake::{HandshakeDeserialize, HandshakeSerialize};
use crate::primitive::VariantMap;
-use crate::{HandshakeDeserialize, HandshakeSerialize};
impl HandshakeSerialize for VariantMap {
fn serialize<'a>(&'a self) -> Result<Vec<u8>, Error> {