pub struct PageWriteSpec {
pub page_type: PageType,
pub uncompressed_size: usize,
pub compressed_size: usize,
pub num_values: u32,
pub offset: u64,
pub bytes_written: u64,
}
Expand description
Contains page write metrics.
Fields§
§page_type: PageType
The type of page being written
uncompressed_size: usize
The total size of the page, before compression
compressed_size: usize
The compressed size of the page
num_values: u32
The number of values in the page
offset: u64
The offset of the page in the column chunk
bytes_written: u64
The number of bytes written to the underlying sink
Implementations§
Source§impl PageWriteSpec
impl PageWriteSpec
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageWriteSpec
impl RefUnwindSafe for PageWriteSpec
impl Send for PageWriteSpec
impl Sync for PageWriteSpec
impl Unpin for PageWriteSpec
impl UnwindSafe for PageWriteSpec
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