pub struct Scanner { /* private fields */ }Expand description
Reads events from the store.
Implementations§
Source§impl Scanner
impl Scanner
pub fn new(paths: StorePaths) -> Self
pub fn paths(&self) -> &StorePaths
Sourcepub fn partitions_for(
&self,
window: TimeWindow,
) -> Result<Vec<(Partition, PathBuf)>>
pub fn partitions_for( &self, window: TimeWindow, ) -> Result<Vec<(Partition, PathBuf)>>
Partitions present on disk that overlap the query window, in chronological order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scanner
impl RefUnwindSafe for Scanner
impl Send for Scanner
impl Sync for Scanner
impl Unpin for Scanner
impl UnsafeUnpin for Scanner
impl UnwindSafe for Scanner
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