pub struct CompactionRange {
pub split_idx: usize,
}Expand description
Plan for compacting messages[0..split_idx] and keeping the tail.
Fields§
§split_idx: usizeFirst index of the kept tail (messages[split_idx..]).
Trait Implementations§
Source§impl Clone for CompactionRange
impl Clone for CompactionRange
Source§fn clone(&self) -> CompactionRange
fn clone(&self) -> CompactionRange
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 CompactionRange
Source§impl Debug for CompactionRange
impl Debug for CompactionRange
impl Eq for CompactionRange
Source§impl PartialEq for CompactionRange
impl PartialEq for CompactionRange
impl StructuralPartialEq for CompactionRange
Auto Trait Implementations§
impl Freeze for CompactionRange
impl RefUnwindSafe for CompactionRange
impl Send for CompactionRange
impl Sync for CompactionRange
impl Unpin for CompactionRange
impl UnsafeUnpin for CompactionRange
impl UnwindSafe for CompactionRange
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