aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall.rs
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-11-29 14:14:07 +0100
committerMax Audron <audron@cocaine.farm>2021-11-29 14:14:07 +0100
commit952b9461d8b6905f17f29e7cbf428bc24b9eeaf7 (patch)
tree88a91005bb97c428225c29a677fe899ba6fe2098 /src/message/signalproxy/rpccall.rs
parentadd NetworkMap derive for bufferview (diff)
add placeholder impl for RpcCall
Diffstat (limited to '')
-rw-r--r--src/message/signalproxy/rpccall.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/message/signalproxy/rpccall.rs b/src/message/signalproxy/rpccall.rs
index 0b5c598..e485f6b 100644
--- a/src/message/signalproxy/rpccall.rs
+++ b/src/message/signalproxy/rpccall.rs
@@ -6,6 +6,7 @@ use crate::{deserialize::Deserialize, serialize::Serialize};
#[derive(Clone, Debug, std::cmp::PartialEq)]
pub enum RpcCall {
DisplayMessage(DisplayMessage),
+ NotImplemented,
}
#[derive(Clone, Debug, std::cmp::PartialEq)]
@@ -30,6 +31,7 @@ impl Serialize for RpcCall {
res.push(Variant::ByteArray("2displayMsg(Message)".to_string()));
res.push(Variant::Message(msg.message.clone()));
}
+ RpcCall::NotImplemented => todo!(),
}
res.serialize()
@@ -53,7 +55,7 @@ impl Deserialize for RpcCall {
}),
))
}
- _ => unimplemented!(),
+ _ => return Ok((size, RpcCall::NotImplemented)),
}
}
}
ax Audron-4/+6 2021-09-28switch AliasManager to use split network translation traitsMax Audron-10/+17 2021-09-28add NetworkList and NetworkMap derive macrosMax Audron-25/+101 2021-09-28add statetracker to workspaceMax Audron-1/+1 2021-09-28statetracker: cleanup codeMax Audron-29/+86 2021-09-28statetracker: first iteration of working rpc objectMax Audron-0/+709 2021-09-28rename override_type to typeMax Audron-7/+7 2021-07-31fix trailing semicolon match_variant macroMax Audron-1/+1 2021-07-31add doc for network translationMax Audron-0/+93 2021-07-25add Traits for syncable objectsMax Audron-48/+114 2021-07-21cleanup objects::TypesMax Audron-5/+35 2021-07-21add IgnoreListManagerMax Audron-0/+165 2021-07-21add cert-managerMax Audron-0/+32 2021-07-21add 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 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 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 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