Enum deno_http::HttpSocketAddr
source · pub enum HttpSocketAddr {
IpSocket(SocketAddr),
UnixSocket(SocketAddr),
}
Variants§
IpSocket(SocketAddr)
UnixSocket(SocketAddr)
Trait Implementations§
source§impl From<SocketAddr> for HttpSocketAddr
impl From<SocketAddr> for HttpSocketAddr
source§fn from(addr: SocketAddr) -> Self
fn from(addr: SocketAddr) -> Self
Converts to this type from the input type.
source§impl From<SocketAddr> for HttpSocketAddr
impl From<SocketAddr> for HttpSocketAddr
source§fn from(addr: SocketAddr) -> Self
fn from(addr: SocketAddr) -> Self
Converts to this type from the input type.