Trait s2n_quic::provider::tls::TryInto

source ·
pub trait TryInto {
    type Provider: Provider;
    type Error: 'static + Display + Send + Sync;

    // Required method
    fn try_into(self) -> Result<Self::Provider, Self::Error>;
}
Expand description

Converts a value into a Provider

Required Associated Types§

Required Methods§

source

fn try_into(self) -> Result<Self::Provider, Self::Error>

Implementors§

source§

impl<T: Provider> TryInto for T

Automatically implement anything that implements Provider