pub struct Contacts { /* private fields */ }Expand description
A client-local contact list. It lives on the device and is never sent to
the server, so the server never learns a user’s contact graph — the
metadata-privacy choice for an end-to-end-encrypted messenger. Serialize
with to_bytes to persist it across restarts; a
user’s contacts do not sync across their devices without doing that
deliberately.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contacts
impl RefUnwindSafe for Contacts
impl Send for Contacts
impl Sync for Contacts
impl Unpin for Contacts
impl UnsafeUnpin for Contacts
impl UnwindSafe for Contacts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more