pub struct ProjectionReader { /* private fields */ }Implementations§
Source§impl ProjectionReader
impl ProjectionReader
pub fn open(database_path: &Path) -> Result<Self>
pub fn data_version(&self) -> Result<u64>
pub fn list_run_index(&self) -> Result<Vec<RunIndexRow>>
pub fn read_window( &self, run_id: &str, cursors: ProjectionCursors, ) -> Result<LoadedRun>
pub fn read_page( &self, run_id: &str, kind: PageKind, cursor: u64, ) -> Result<(u64, ProjectionPage)>
pub fn read_deltas( &self, run_id: &str, after_revision: u64, ) -> Result<ViewerDeltaRead>
Auto Trait Implementations§
impl !Freeze for ProjectionReader
impl !RefUnwindSafe for ProjectionReader
impl !Sync for ProjectionReader
impl !UnwindSafe for ProjectionReader
impl Send for ProjectionReader
impl Unpin for ProjectionReader
impl UnsafeUnpin for ProjectionReader
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more