enum SerializedPageReaderState {
Values {
offset: u64,
remaining_bytes: u64,
next_page_header: Option<Box<PageHeader>>,
page_index: usize,
require_dictionary: bool,
},
Pages {
page_locations: VecDeque<PageLocation>,
dictionary_page: Option<PageLocation>,
total_rows: usize,
page_index: usize,
},
}
Variants§
Values
Fields
§
offset: u64
The current byte offset in the reader Note that offset is u64 (i.e., not usize) to support 32-bit architectures such as WASM
§
remaining_bytes: u64
The length of the chunk in bytes Note that remaining_bytes is u64 (i.e., not usize) to support 32-bit architectures such as WASM
§
next_page_header: Option<Box<PageHeader>>
Pages
Fields
§
page_locations: VecDeque<PageLocation>
Remaining page locations
§
dictionary_page: Option<PageLocation>
Remaining dictionary location if any
Auto Trait Implementations§
impl Freeze for SerializedPageReaderState
impl RefUnwindSafe for SerializedPageReaderState
impl Send for SerializedPageReaderState
impl Sync for SerializedPageReaderState
impl Unpin for SerializedPageReaderState
impl UnwindSafe for SerializedPageReaderState
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