pub enum PostgresSslMode {
Disable,
Prefer,
Require,
VerifyCa,
VerifyFull,
}Expand description
PostgreSQL TLS verification mode. None preserves PostgreSQL’s prefer
default for existing profiles that omit sslmode.
Variants§
Trait Implementations§
Source§impl Clone for PostgresSslMode
impl Clone for PostgresSslMode
Source§fn clone(&self) -> PostgresSslMode
fn clone(&self) -> PostgresSslMode
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 moreimpl Copy for PostgresSslMode
Source§impl Debug for PostgresSslMode
impl Debug for PostgresSslMode
Source§impl<'de> Deserialize<'de> for PostgresSslMode
impl<'de> Deserialize<'de> for PostgresSslMode
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
impl Eq for PostgresSslMode
Source§impl PartialEq for PostgresSslMode
impl PartialEq for PostgresSslMode
Source§impl Serialize for PostgresSslMode
impl Serialize for PostgresSslMode
impl StructuralPartialEq for PostgresSslMode
Auto Trait Implementations§
impl Freeze for PostgresSslMode
impl RefUnwindSafe for PostgresSslMode
impl Send for PostgresSslMode
impl Sync for PostgresSslMode
impl Unpin for PostgresSslMode
impl UnsafeUnpin for PostgresSslMode
impl UnwindSafe for PostgresSslMode
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