feat: Type-erase Database backend for simpler code
This commit is contained in:
parent
9933990fd3
commit
ccbd97b836
17 changed files with 108 additions and 117 deletions
|
|
@ -174,9 +174,9 @@ fn search_entry_from_user(user: &User, req_attrs: &[String]) -> LdapSearchResult
|
|||
}
|
||||
}
|
||||
|
||||
pub async fn search_by_mail_filter<D: DatabaseInterface>(
|
||||
pub async fn search_by_mail_filter(
|
||||
stream: &mut LdapStream,
|
||||
db: &Database<D>,
|
||||
db: &Database,
|
||||
sr: LdapSearchRequest,
|
||||
msgid: i32,
|
||||
) -> Result<(), LdapStreamError> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue