pub struct PayloadFractions { /* private fields */ }
Expand description
§Payload Fractions (3 Bytes)
The maximum and minimum embedded payload fractions and the leaf payload fraction values must be 64, 32, and 32. These values were originally intended to be tunable parameters that could be used to modify the storage format of the b-tree algorithm. However, that functionality is not supported and there are no current plans to add support in the future. Hence, these three bytes are fixed at the values specified.
Implementations§
Source§impl PayloadFractions
impl PayloadFractions
pub fn maximum(&self) -> &MaximumEmbeddedPayloadFraction
pub fn minimum(&self) -> &MinimumEmbeddedPayloadFraction
pub fn leaf(&self) -> &LeafPayloadFraction
Trait Implementations§
Source§impl Debug for PayloadFractions
impl Debug for PayloadFractions
Source§impl Default for PayloadFractions
impl Default for PayloadFractions
Source§fn default() -> PayloadFractions
fn default() -> PayloadFractions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PayloadFractions
impl RefUnwindSafe for PayloadFractions
impl Send for PayloadFractions
impl Sync for PayloadFractions
impl Unpin for PayloadFractions
impl UnwindSafe for PayloadFractions
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