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