mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 20:32:48 +00:00
stores: Switch from dyn to impl and implement Sized
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user