pub struct PrimitivePageEncoding { /* private fields */ }Expand description
One executable primitive-page behavior selected by an exact file composition.
Implementations§
Source§impl PrimitivePageEncoding
impl PrimitivePageEncoding
Sourcepub fn reject_sparse() -> Self
pub fn reject_sparse() -> Self
Reject an explicit request for sparse structural encoding.
Sourcepub fn sparse(compression: Arc<dyn CompressionStrategy>) -> Self
pub fn sparse(compression: Arc<dyn CompressionStrategy>) -> Self
Plan and encode sparse structural pages when applicable.
Sourcepub fn dense_u16(compression: Arc<dyn CompressionStrategy>) -> Self
pub fn dense_u16(compression: Arc<dyn CompressionStrategy>) -> Self
Encode dense pages with the original u16 miniblock grammar.
Sourcepub fn dense_u32(compression: Arc<dyn CompressionStrategy>) -> Self
pub fn dense_u32(compression: Arc<dyn CompressionStrategy>) -> Self
Encode dense pages with the u32 miniblock grammar.
Trait Implementations§
Source§impl Clone for PrimitivePageEncoding
impl Clone for PrimitivePageEncoding
Source§fn clone(&self) -> PrimitivePageEncoding
fn clone(&self) -> PrimitivePageEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PrimitivePageEncoding
impl !UnwindSafe for PrimitivePageEncoding
impl Freeze for PrimitivePageEncoding
impl Send for PrimitivePageEncoding
impl Sync for PrimitivePageEncoding
impl Unpin for PrimitivePageEncoding
impl UnsafeUnpin for PrimitivePageEncoding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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