pub enum MariaDbFormat {
Original,
FullCrc32,
}Expand description
MariaDB tablespace format variant.
MariaDB 10.5+ introduced full_crc32, a simplified format with a single
CRC-32C checksum over the entire page (minus the last 4 bytes). Older
MariaDB versions use the “original” format, which is closer to MySQL but
with different flag bit assignments.
Variants§
Original
Original MariaDB format (10.1–10.4). FSP flags layout differs from MySQL in compression (bit 16) and encryption handling.
FullCrc32
Full CRC-32C format (MariaDB 10.5+). FSP flags bit 4 is the marker. Page size in bits 0-3, compression algo in bits 5-7.
Trait Implementations§
Source§impl Clone for MariaDbFormat
impl Clone for MariaDbFormat
Source§fn clone(&self) -> MariaDbFormat
fn clone(&self) -> MariaDbFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MariaDbFormat
impl Debug for MariaDbFormat
Source§impl Display for MariaDbFormat
impl Display for MariaDbFormat
Source§impl Hash for MariaDbFormat
impl Hash for MariaDbFormat
Source§impl PartialEq for MariaDbFormat
impl PartialEq for MariaDbFormat
Source§impl Serialize for MariaDbFormat
impl Serialize for MariaDbFormat
impl Copy for MariaDbFormat
impl Eq for MariaDbFormat
impl StructuralPartialEq for MariaDbFormat
Auto Trait Implementations§
impl Freeze for MariaDbFormat
impl RefUnwindSafe for MariaDbFormat
impl Send for MariaDbFormat
impl Sync for MariaDbFormat
impl Unpin for MariaDbFormat
impl UnsafeUnpin for MariaDbFormat
impl UnwindSafe for MariaDbFormat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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