diff options
| author | Max Audron <audron@cocaine.farm> | 2021-04-05 18:03:46 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-04-05 18:03:46 +0200 |
| commit | d7488b8040278c2cf9cd1b1eead206efe408cd9f (patch) | |
| tree | 1188190a730e6c0d4277c588545c5ff557afb3cd /src/message/handshake/connack.rs | |
| parent | WIP: impl signalproxy types (diff) | |
WIP: impl more signalproxy objects
Diffstat (limited to 'src/message/handshake/connack.rs')
| -rw-r--r-- | src/message/handshake/connack.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/handshake/connack.rs b/src/message/handshake/connack.rs index 222c08c..a246679 100644 --- a/src/message/handshake/connack.rs +++ b/src/message/handshake/connack.rs @@ -29,7 +29,7 @@ impl Default for ConnAck { } } -impl crate::Serialize for ConnAck { +impl crate::serialize::Serialize for ConnAck { fn serialize(&self) -> Result<Vec<std::primitive::u8>, Error> { let mut bytes: Vec<u8> = Vec::new(); @@ -41,7 +41,7 @@ impl crate::Serialize for ConnAck { } } -impl crate::Deserialize for ConnAck { +impl crate::deserialize::Deserialize for ConnAck { fn parse(b: &[u8]) -> Result<(usize, Self), Error> { let (flen, flags) = u8::parse(b)?; let (elen, extra) = i16::parse(&b[flen..])?; |
