pub enum PostgresSslMode {
Disable,
Allow,
Prefer,
Require,
VerifyCa,
VerifyFull,
}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 Default for PostgresSslMode
impl Default for PostgresSslMode
Source§fn default() -> PostgresSslMode
fn default() -> PostgresSslMode
Returns the “default value” for a type. Read more
impl Eq for PostgresSslMode
Source§impl PartialEq for PostgresSslMode
impl PartialEq 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