17 lines
406 B
Rust
17 lines
406 B
Rust
use super::ContactResolverBackend;
|
|
|
|
#[derive(Clone, Default)]
|
|
pub struct GenericContactResolverBackend;
|
|
|
|
impl ContactResolverBackend for GenericContactResolverBackend {
|
|
type ContactID = String;
|
|
|
|
fn resolve_contact_id(&self, address: &str) -> Option<Self::ContactID> {
|
|
None
|
|
}
|
|
|
|
fn get_contact_display_name(&self, contact_id: &Self::ContactID) -> Option<String> {
|
|
None
|
|
}
|
|
}
|