pub struct DirectoryReader { /* private fields */ }Implementations§
Source§impl DirectoryReader
impl DirectoryReader
pub fn open(path: impl AsRef<Path>) -> Result<Self>
pub fn open_with_options( path: impl AsRef<Path>, options: ReaderOptions, ) -> Result<Self>
pub fn open_files<I, P>(paths: I) -> Result<Self>
pub fn open_files_with_options<I, P>( paths: I, options: ReaderOptions, ) -> Result<Self>
pub fn seek_head(&mut self)
pub fn seek_tail(&mut self)
pub fn seek_realtime(&mut self, usec: u64)
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 seek_cursor(&mut self, cursor: &str) -> Result<()>
pub fn enumerate_fields(&mut self) -> Result<Vec<String>>
pub fn query_unique(&mut self, field_name: &str) -> Result<Vec<Vec<u8>>>
pub fn visit_unique_values<F>( &mut self, field_name: &str, visitor: F, ) -> Result<()>
pub fn list_boots(&self) -> Vec<BootInfo>
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)
Auto Trait Implementations§
impl !RefUnwindSafe for DirectoryReader
impl !Send for DirectoryReader
impl !Sync for DirectoryReader
impl !UnwindSafe for DirectoryReader
impl Freeze for DirectoryReader
impl Unpin for DirectoryReader
impl UnsafeUnpin for DirectoryReader
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