remove some various unused functions and mark some possibly important ones *for now*

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-22 23:54:56 -04:00 committed by June
parent 66bb88a03a
commit 17d0c869b0
11 changed files with 41 additions and 36 deletions

View file

@ -11,6 +11,9 @@ pub(crate) trait Data: Send + Sync {
fn active_requests_for(&self, destination: &Destination) -> SendingEventTypeIter<'_>;
fn delete_active_request(&self, key: Vec<u8>) -> Result<()>;
fn delete_all_active_requests_for(&self, destination: &Destination) -> Result<()>;
/// TODO: use this?
#[allow(dead_code)]
fn delete_all_requests_for(&self, destination: &Destination) -> Result<()>;
fn queue_requests(&self, requests: &[(&Destination, SendingEventType)]) -> Result<Vec<Vec<u8>>>;
fn queued_requests<'a>(