pub struct RingDigest;
Expand description
a digest backend provided by ring
Usage:
use tokio_postgres_generic_rustls::{MakeRustlsConnect, RingDigest};
let tls = MakeRustlsConnect::new(rustls_config, RingDigest);
let connect_future = tokio_postgres::connect("postgres://username:password@localhost:5432/db", tls);
Trait Implementations§
Source§impl Clone for RingDigest
impl Clone for RingDigest
Source§fn clone(&self) -> RingDigest
fn clone(&self) -> RingDigest
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 RingDigest
impl Debug for RingDigest
Source§impl Default for RingDigest
impl Default for RingDigest
Source§fn default() -> RingDigest
fn default() -> RingDigest
Returns the “default value” for a type. Read more
Source§impl DigestImplementation for RingDigest
impl DigestImplementation for RingDigest
Source§impl Hash for RingDigest
impl Hash for RingDigest
Source§impl Ord for RingDigest
impl Ord for RingDigest
Source§fn cmp(&self, other: &RingDigest) -> Ordering
fn cmp(&self, other: &RingDigest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RingDigest
impl PartialEq for RingDigest
Source§impl PartialOrd for RingDigest
impl PartialOrd for RingDigest
impl Copy for RingDigest
impl Eq for RingDigest
impl StructuralPartialEq for RingDigest
Auto Trait Implementations§
impl Freeze for RingDigest
impl RefUnwindSafe for RingDigest
impl Send for RingDigest
impl Sync for RingDigest
impl Unpin for RingDigest
impl UnwindSafe for RingDigest
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