pub trait ToSocketAddr {
    // Required method
    fn to_socket_addr(&self) -> Result<SocketAddr, AddrParseError>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<'a, T: ToSocketAddr + ?Sized> ToSocketAddr for &'a T

source§

impl ToSocketAddr for str

source§

impl ToSocketAddr for (VsockCid, c_uint)

Implementors§