Struct snow::resolvers::FallbackResolver[][src]

pub struct FallbackResolver { /* fields omitted */ }

A helper resolver that can opportunistically use one resolver, but can fallback to another if the first didn’t have an implementation for a given primitive.

Implementations

impl FallbackResolver[src]

pub fn new(
    preferred: BoxedCryptoResolver,
    fallback: BoxedCryptoResolver
) -> Self
[src]

Create a new FallbackResolver that holds the primary and secondary resolver.

Trait Implementations

impl CryptoResolver for FallbackResolver[src]

Auto Trait Implementations

impl !RefUnwindSafe for FallbackResolver

impl Send for FallbackResolver

impl !Sync for FallbackResolver

impl Unpin for FallbackResolver

impl !UnwindSafe for FallbackResolver

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]