diff options
| author | Max Audron <audron@cocaine.farm> | 2025-02-22 22:59:01 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-02-22 22:59:01 +0100 |
| commit | b8ad94cd5061445a45d0790eee36014d34ad6817 (patch) | |
| tree | fb7d11e136b968d2f2b3593ba9163894baed8912 /src/message/signalproxy/objects | |
| parent | update dependencies and fix errors (diff) | |
replace deprecated failure crate with thiserror
this changes the public API in that all our methods now return a proper
ProtocolError crate. Needed change anyways to properly deal with all our
errors in the long run.
Will still need to do a pass through the crate to remove all existing
unwraps where it makes sense.
Diffstat (limited to '')
| -rw-r--r-- | src/message/signalproxy/objects/backlogmanager.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/message/signalproxy/objects/backlogmanager.rs b/src/message/signalproxy/objects/backlogmanager.rs index 7d6624d..4e74b15 100644 --- a/src/message/signalproxy/objects/backlogmanager.rs +++ b/src/message/signalproxy/objects/backlogmanager.rs @@ -48,6 +48,8 @@ // receiveBacklogAllFiltered(first: MsgId, last: MsgId, limit: Int, additional: Int, type: Int, flags: Int, messages: QVariantList) // } +#![allow(non_snake_case, dead_code)] + use crate::primitive::VariantList; /// Receive and Request Backlog @@ -59,14 +61,7 @@ impl BacklogManager { /// Loads backlog for `bufferId`, starting at message `first`, up to `last` /// (plus `additional` more messages after `last`) but at most `limit` /// messages total. - fn requestBacklog( - self: Self, - buffer_id: u32, - first: u32, - last: u32, - limit: u32, - additional: u32, - ) { + fn requestBacklog(self: Self, buffer_id: u32, first: u32, last: u32, limit: u32, additional: u32) { unimplemented!() } |
