pub enum PgConfigWalCompression {
Off,
On,
Lz4,
Zstd,
Unknown(String),
}Expand description
Inline enum for pgConfig.wal_compression.
Variants§
Trait Implementations§
Source§impl Clone for PgConfigWalCompression
impl Clone for PgConfigWalCompression
Source§fn clone(&self) -> PgConfigWalCompression
fn clone(&self) -> PgConfigWalCompression
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 moreSource§impl Debug for PgConfigWalCompression
impl Debug for PgConfigWalCompression
Source§impl Default for PgConfigWalCompression
impl Default for PgConfigWalCompression
Source§fn default() -> PgConfigWalCompression
fn default() -> PgConfigWalCompression
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PgConfigWalCompression
impl<'de> Deserialize<'de> for PgConfigWalCompression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PgConfigWalCompression
impl Display for PgConfigWalCompression
Source§impl PartialEq for PgConfigWalCompression
impl PartialEq for PgConfigWalCompression
Source§fn eq(&self, other: &PgConfigWalCompression) -> bool
fn eq(&self, other: &PgConfigWalCompression) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PgConfigWalCompression
impl Serialize for PgConfigWalCompression
impl StructuralPartialEq for PgConfigWalCompression
Auto Trait Implementations§
impl Freeze for PgConfigWalCompression
impl RefUnwindSafe for PgConfigWalCompression
impl Send for PgConfigWalCompression
impl Sync for PgConfigWalCompression
impl Unpin for PgConfigWalCompression
impl UnsafeUnpin for PgConfigWalCompression
impl UnwindSafe for PgConfigWalCompression
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