pub struct ArchivePart {
pub archive: ArchiveRef,
pub first_source_index: usize,
pub reduced_messages: usize,
}Expand description
One of the segments a window was sealed as.
Fields§
§archive: ArchiveRef§first_source_index: usizeIndex in the window of the first source message this part covers; it
covers archive.source_message_count messages from there, and the
source_index of its messages counts from there too.
reduced_messages: usizeSource messages in this part stored with an over-limit payload omitted
(0 or 1): the messages that carry REDUCED_KEY.
Trait Implementations§
Source§impl Clone for ArchivePart
impl Clone for ArchivePart
Source§impl Debug for ArchivePart
impl Debug for ArchivePart
impl Eq for ArchivePart
Source§impl PartialEq for ArchivePart
impl PartialEq for ArchivePart
impl StructuralPartialEq for ArchivePart
Auto Trait Implementations§
impl Forget for ArchivePart
impl Freeze for ArchivePart
impl Move for ArchivePart
impl RefUnwindSafe for ArchivePart
impl Send for ArchivePart
impl Sync for ArchivePart
impl Unpin for ArchivePart
impl UnsafeUnpin for ArchivePart
impl UnwindSafe for ArchivePart
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.