Enum deno_http::HttpSocketAddr
source · [−]pub enum HttpSocketAddr {
IpSocket(SocketAddr),
UnixSocket(SocketAddr),
}
Variants
IpSocket(SocketAddr)
UnixSocket(SocketAddr)
Trait Implementations
sourceimpl From<SocketAddr> for HttpSocketAddr
impl From<SocketAddr> for HttpSocketAddr
sourcefn from(addr: SocketAddr) -> Self
fn from(addr: SocketAddr) -> Self
Converts to this type from the input type.
sourceimpl From<SocketAddr> for HttpSocketAddr
impl From<SocketAddr> for HttpSocketAddr
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more