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.
Auto Trait Implementations§
impl RefUnwindSafe for HttpSocketAddr
impl Send for HttpSocketAddr
impl Sync for HttpSocketAddr
impl Unpin for HttpSocketAddr
impl UnwindSafe for HttpSocketAddr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more