pub struct EpisodeIndex { /* private fields */ }Expand description
Ordered episode index keyed by timestamp then topic.
Implementations§
Source§impl EpisodeIndex
impl EpisodeIndex
Sourcepub fn build(records: &[StampedRecord]) -> Self
pub fn build(records: &[StampedRecord]) -> Self
Builds an index over stamped records.
Sourcepub fn ordered_indices(&self) -> impl Iterator<Item = usize> + '_
pub fn ordered_indices(&self) -> impl Iterator<Item = usize> + '_
Returns record indices in deterministic sorted order.
Trait Implementations§
Source§impl Clone for EpisodeIndex
impl Clone for EpisodeIndex
Source§fn clone(&self) -> EpisodeIndex
fn clone(&self) -> EpisodeIndex
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 moreSource§impl Debug for EpisodeIndex
impl Debug for EpisodeIndex
Source§impl Default for EpisodeIndex
impl Default for EpisodeIndex
Source§fn default() -> EpisodeIndex
fn default() -> EpisodeIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for EpisodeIndex
impl PartialEq for EpisodeIndex
Source§fn eq(&self, other: &EpisodeIndex) -> bool
fn eq(&self, other: &EpisodeIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EpisodeIndex
Auto Trait Implementations§
impl Freeze for EpisodeIndex
impl RefUnwindSafe for EpisodeIndex
impl Send for EpisodeIndex
impl Sync for EpisodeIndex
impl Unpin for EpisodeIndex
impl UnsafeUnpin for EpisodeIndex
impl UnwindSafe for EpisodeIndex
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