stores: Switch from dyn to impl and implement Sized

This commit is contained in:
Lennart
2025-01-15 17:21:01 +01:00
parent 751c2d1ce7
commit 6d78a3936f
28 changed files with 55 additions and 72 deletions

View File

@@ -23,7 +23,7 @@ pub struct AddressbookMultigetRequest {
href: Vec<String>,
}
pub async fn get_objects_addressbook_multiget<AS: AddressbookStore + ?Sized>(
pub async fn get_objects_addressbook_multiget<AS: AddressbookStore>(
addressbook_multiget: &AddressbookMultigetRequest,
path: &str,
principal: &str,
@@ -52,7 +52,7 @@ pub async fn get_objects_addressbook_multiget<AS: AddressbookStore + ?Sized>(
Ok((result, not_found))
}
pub async fn handle_addressbook_multiget<AS: AddressbookStore + ?Sized>(
pub async fn handle_addressbook_multiget<AS: AddressbookStore>(
addr_multiget: AddressbookMultigetRequest,
req: HttpRequest,
user: &User,