aboutsummaryrefslogtreecommitdiff
path: root/src/primitive/variantmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/primitive/variantmap.rs')
-rw-r--r--src/primitive/variantmap.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/primitive/variantmap.rs b/src/primitive/variantmap.rs
index d43028c..8c1032d 100644
--- a/src/primitive/variantmap.rs
+++ b/src/primitive/variantmap.rs
@@ -5,8 +5,7 @@ use failure::Error;
use log::trace;
-use crate::Deserialize;
-use crate::Serialize;
+use crate::{deserialize::*, serialize::*};
use crate::primitive::Variant;
use crate::util;
@@ -40,11 +39,11 @@ impl Deserialize for VariantMap {
let mut pos: usize = 4;
let mut map = VariantMap::new();
for _ in 0..len {
- trace!(target: "primitive::VariantMap", "Parsing entry name");
+ trace!(target: "primitive::VariantMap", "Parsing entry name {:x?}", &b[pos..]);
let (nlen, name) = String::parse(&b[pos..])?;
pos += nlen;
- trace!(target: "primitive::VariantMap", "Parsing entry: {:?} with len {:?}", name, &b[(pos)..(pos + 4)]);
+ trace!(target: "primitive::VariantMap", "Parsing entry: {:?} with type {:x?}", name, &b[(pos)..(pos + 4)]);
let (vlen, value) = Variant::parse(&b[(pos)..])?;
pos += vlen;
el.git/commit/src/message/signalproxy/objects/mod.rs?id=279a859d3041a8e411d4b58ce3c33b6c35aebe39&follow=1'>add BufferViewManager and BufferViewConfigMax Audron-0/+95 2021-07-21migrate BufferSyncer to use Network derive and add to central TypesMax Audron-143/+22 2021-07-21rewrite network derive to work more consistentlyMax Audron-78/+90 this mainly ensures that the network and override_type / variant options work across the board 2021-07-21fix wrong capitalization for HighlightRuleListMax Audron-2/+2 2021-07-21implement the Network trait generically for all inner Variant TypesMax Audron-1/+66 2021-07-21change IRC MessageType to be a bitflag instead of enumMax Audron-54/+94 the BufferSyncer object uses this type in a bitflag manner to indicate all the kinds of change that happened. bitflag still allows very enum esque usage so the change is okay for the Message object. 2021-07-21fix network objectMax Audron-18/+24 2021-07-21minor docs and cleanupMax Audron-4/+8 2021-04-05WIP: impl more signalproxy objectsMax Audron-1000/+1621 2021-03-09WIP: impl signalproxy typesMax Audron-253/+376 2021-01-21add to and from network deriveMax Audron-42/+2767 2021-01-21reorganize tests and add quassel featuresMax Audron-551/+850 2021-01-04add example program: quasselproxyclientMax Audron-0/+280 and inspection proxy for quassel 2021-01-04random stuffMax Audron-2/+9 2021-01-04add more signalproxy objectsMax Audron-40/+120 2021-01-04add message parsing feature flagsMax Audron-43/+96 2021-01-04fix parsing of datetime when value is -1Max Audron-1/+9 2021-01-02update dependenciesMax Audron-267/+27 2021-01-02rework handshakemessage parsingMax Audron-141/+278 2020-10-16updateMax Audron-1553/+294 2020-10-16update paperworkMax Audron-487/+391