diff options
| author | Max Audron <audron@cocaine.farm> | 2021-11-29 14:14:07 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-11-29 14:14:07 +0100 |
| commit | 952b9461d8b6905f17f29e7cbf428bc24b9eeaf7 (patch) | |
| tree | 88a91005bb97c428225c29a677fe899ba6fe2098 /src/message | |
| parent | add NetworkMap derive for bufferview (diff) | |
add placeholder impl for RpcCall
Diffstat (limited to 'src/message')
| -rw-r--r-- | src/message/signalproxy/rpccall.rs | 4 |
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)), } } } |
