#[non_exhaustive]pub enum WireRecordKind {
Conversation,
Event,
User,
Client,
Unknown,
}Expand description
Which Wire object store a record came from — the Dexie store name mapped to a forensic role.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Conversation
conversations — conversation/group metadata.
Event
events — message and system events (the chat log).
User
users — the contact roster.
Client
clients — registered devices/clients.
Unknown
An object store this reader does not map to a Wire role.
Implementations§
Source§impl WireRecordKind
impl WireRecordKind
Sourcepub fn from_store_name(name: &str) -> WireRecordKind
pub fn from_store_name(name: &str) -> WireRecordKind
Map a Dexie object-store name to its Wire role.
Trait Implementations§
Source§impl Clone for WireRecordKind
impl Clone for WireRecordKind
Source§fn clone(&self) -> WireRecordKind
fn clone(&self) -> WireRecordKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WireRecordKind
Source§impl Debug for WireRecordKind
impl Debug for WireRecordKind
impl Eq for WireRecordKind
Source§impl PartialEq for WireRecordKind
impl PartialEq for WireRecordKind
impl StructuralPartialEq for WireRecordKind
Auto Trait Implementations§
impl Freeze for WireRecordKind
impl RefUnwindSafe for WireRecordKind
impl Send for WireRecordKind
impl Sync for WireRecordKind
impl Unpin for WireRecordKind
impl UnsafeUnpin for WireRecordKind
impl UnwindSafe for WireRecordKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.