pub struct FileReader { /* private fields */ }Implementations§
Source§impl FileReader
impl FileReader
pub fn explore(&mut self, query: &ExplorerQuery) -> Result<ExplorerResult>
pub fn explore_with_strategy( &mut self, query: &ExplorerQuery, strategy: ExplorerStrategy, ) -> Result<ExplorerResult>
pub fn explore_with_strategy_and_control( &mut self, query: &ExplorerQuery, strategy: ExplorerStrategy, control: &mut ExplorerControl<'_>, ) -> Result<ExplorerResult>
Source§impl FileReader
impl FileReader
pub fn open(path: impl AsRef<Path>) -> Result<Self>
pub fn open_with_options( path: impl AsRef<Path>, options: ReaderOptions, ) -> Result<Self>
pub fn header(&self) -> FileHeader
pub fn bucket_utilization(&self) -> Option<BucketUtilization>
pub fn seek_head(&mut self)
pub fn seek_tail(&mut self)
pub fn seek_realtime(&mut self, usec: u64)
pub fn seek_cursor(&mut self, cursor: &str) -> Result<()>
pub fn next(&mut self) -> Result<bool>
pub fn previous(&mut self) -> Result<bool>
pub fn get_entry(&mut self) -> Result<Entry>
pub fn visit_entry_payloads<F>(&mut self, visitor: F) -> Result<()>
pub fn clear_entry_data_state(&mut self)
pub fn entry_data_restart(&mut self) -> Result<()>
pub fn enumerate_entry_payload(&mut self) -> Result<Option<&[u8]>>
pub fn collect_entry_payloads( &mut self, payloads: &mut Vec<Vec<u8>>, ) -> Result<()>
pub fn get_entry_payload(&mut self, field: &[u8]) -> Result<Option<Vec<u8>>>
pub fn get_realtime_usec(&self) -> Result<u64>
pub fn get_seqnum(&self) -> Result<(u64, [u8; 16])>
pub fn get_monotonic_usec(&self) -> Result<(u64, [u8; 16])>
pub fn get_cursor(&self) -> Result<String>
pub fn test_cursor(&self, cursor: &str) -> Result<bool>
pub fn add_match(&mut self, data: &[u8])
pub fn add_conjunction(&mut self) -> Result<()>
pub fn add_disjunction(&mut self) -> Result<()>
pub fn flush_matches(&mut self)
Trait Implementations§
Source§impl Drop for FileReader
impl Drop for FileReader
Auto Trait Implementations§
impl !RefUnwindSafe for FileReader
impl !Send for FileReader
impl !Sync for FileReader
impl !UnwindSafe for FileReader
impl Freeze for FileReader
impl Unpin for FileReader
impl UnsafeUnpin for FileReader
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