#[non_exhaustive]pub struct WireStore {
pub object_stores: Vec<ObjectStoreSummary>,
pub records: Vec<WireRecord>,
}Expand description
The interpreted Wire store: a per-object-store summary plus every record.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.object_stores: Vec<ObjectStoreSummary>One summary per named object store found.
records: Vec<WireRecord>Every interpreted record, in source order.
Implementations§
Source§impl WireStore
impl WireStore
Sourcepub fn records_in<'a>(
&'a self,
store: &'a str,
) -> impl Iterator<Item = &'a WireRecord>
pub fn records_in<'a>( &'a self, store: &'a str, ) -> impl Iterator<Item = &'a WireRecord>
Records belonging to store.
Sourcepub fn events(&self) -> impl Iterator<Item = &WireRecord>
pub fn events(&self) -> impl Iterator<Item = &WireRecord>
All message/system event records.
Sourcepub fn encrypted_events(&self) -> impl Iterator<Item = &WireRecord>
pub fn encrypted_events(&self) -> impl Iterator<Item = &WireRecord>
Event records whose content is client-side encrypted (unrecoverable).
Trait Implementations§
impl StructuralPartialEq for WireStore
Auto Trait Implementations§
impl Freeze for WireStore
impl RefUnwindSafe for WireStore
impl Send for WireStore
impl Sync for WireStore
impl Unpin for WireStore
impl UnsafeUnpin for WireStore
impl UnwindSafe for WireStore
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