[][src]Struct libuv::requests::getaddrinfo::GetAddrInfoReq

pub struct GetAddrInfoReq { /* fields omitted */ }

GetAddrInfo request type

Implementations

impl GetAddrInfoReq[src]

pub fn new<CB: Into<GetAddrInfoCB<'static>>>(cb: CB) -> Result<GetAddrInfoReq>[src]

Create a new GetAddrInfo request

pub fn destroy(&mut self)[src]

Frees memory associated with this request

pub fn addrinfos(self) -> Vec<AddrInfo>[src]

Retrieve an iterator of AddrInfo responses

pub fn loop(&self) -> Loop[src]

The loop

Trait Implementations

impl Clone for GetAddrInfoReq[src]

impl Copy for GetAddrInfoReq[src]

impl From<GetAddrInfoReq> for Req[src]

impl ReqTrait for GetAddrInfoReq[src]

impl ToReq for GetAddrInfoReq[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.