Struct snow::resolvers::SodiumResolver [−][src]
pub struct SodiumResolver;
Expand description
A resolver that uses libsodium via sodiumoxide.
Trait Implementations
impl CryptoResolver for SodiumResolver
[src]
impl CryptoResolver for SodiumResolver
[src]fn resolve_rng(&self) -> Option<Box<dyn Random>>
[src]
fn resolve_rng(&self) -> Option<Box<dyn Random>>
[src]Provide an implementation of the Random trait or None if none available.
fn resolve_dh(&self, choice: &DHChoice) -> Option<Box<dyn Dh>>
[src]
fn resolve_dh(&self, choice: &DHChoice) -> Option<Box<dyn Dh>>
[src]Provide an implementation of the Dh trait for the given DHChoice or None if unavailable.
fn resolve_hash(&self, choice: &HashChoice) -> Option<Box<dyn Hash>>
[src]
fn resolve_hash(&self, choice: &HashChoice) -> Option<Box<dyn Hash>>
[src]Provide an implementation of the Hash trait for the given HashChoice or None if unavailable.
fn resolve_cipher(&self, choice: &CipherChoice) -> Option<Box<dyn Cipher>>
[src]
fn resolve_cipher(&self, choice: &CipherChoice) -> Option<Box<dyn Cipher>>
[src]Provide an implementation of the Cipher trait for the given CipherChoice or None if unavailable.
impl Default for SodiumResolver
[src]
impl Default for SodiumResolver
[src]fn default() -> SodiumResolver
[src]
fn default() -> SodiumResolver
[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SodiumResolver
impl Send for SodiumResolver
impl Sync for SodiumResolver
impl Unpin for SodiumResolver
impl UnwindSafe for SodiumResolver
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,