Struct snow::resolvers::RingResolver [−][src]
pub struct RingResolver;
Expand description
A resolver that chooses ring-backed primitives when available.
Trait Implementations
impl CryptoResolver for RingResolver
[src]
impl CryptoResolver for RingResolver
[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 RingResolver
[src]
impl Default for RingResolver
[src]fn default() -> RingResolver
[src]
fn default() -> RingResolver
[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RingResolver
impl Send for RingResolver
impl Sync for RingResolver
impl Unpin for RingResolver
impl UnwindSafe for RingResolver
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>,