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

Required Methods§

Implementations on Foreign Types§

source§

impl ToSocketAddr for (VsockCid, c_uint)

source§

impl ToSocketAddr for str

source§

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

Implementors§