Skip to main content

TryIntoSockAddr

Trait TryIntoSockAddr 

Source
pub trait TryIntoSockAddr {
    // Required method
    fn try_into_sock(self) -> HaProxRes<SocketAddr>;
}
Expand description

A trait which provides a conversion of strings into SocketAddr.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TryIntoSockAddr for &String

Source§

impl TryIntoSockAddr for &str

Source§

impl TryIntoSockAddr for String

Source§

impl<'cow> TryIntoSockAddr for Cow<'cow, str>

Implementors§