Trait s2n_quic::provider::io::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>

Implementations on Foreign Types§

source§

impl TryInto for &str

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for (&str, u16)

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for (IpAddr, u16)

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for (Ipv4Addr, u16)

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for (Ipv6Addr, u16)

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for SocketAddr

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for u16

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for SocketAddrV4

§

type Error = Error

§

type Provider = Io

source§

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

source§

impl TryInto for SocketAddrV6

§

type Error = Error

§

type Provider = Io

source§

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

Implementors§

source§

impl<T: Provider> TryInto for T

Automatically implement anything that implements Provider