#[non_exhaustive]#[repr(u32)]pub enum enum_compression_algorithm {
MYSQL_UNCOMPRESSED = 1,
MYSQL_ZLIB = 2,
MYSQL_ZSTD = 3,
MYSQL_INVALID = 4,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for enum_compression_algorithm
impl Clone for enum_compression_algorithm
Source§fn clone(&self) -> enum_compression_algorithm
fn clone(&self) -> enum_compression_algorithm
Returns a copy 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 enum_compression_algorithm
impl Debug for enum_compression_algorithm
Source§impl Hash for enum_compression_algorithm
impl Hash for enum_compression_algorithm
impl Copy for enum_compression_algorithm
impl Eq for enum_compression_algorithm
impl StructuralPartialEq for enum_compression_algorithm
Auto Trait Implementations§
impl Freeze for enum_compression_algorithm
impl RefUnwindSafe for enum_compression_algorithm
impl Send for enum_compression_algorithm
impl Sync for enum_compression_algorithm
impl Unpin for enum_compression_algorithm
impl UnwindSafe for enum_compression_algorithm
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