Struct c_ares_sys::ares_addrinfo_hints
source · #[repr(C)]pub struct ares_addrinfo_hints {
pub ai_flags: c_int,
pub ai_family: c_int,
pub ai_socktype: c_int,
pub ai_protocol: c_int,
}
Fields§
§ai_flags: c_int
§ai_family: c_int
§ai_socktype: c_int
§ai_protocol: c_int
Trait Implementations§
source§impl Clone for ares_addrinfo_hints
impl Clone for ares_addrinfo_hints
source§fn clone(&self) -> ares_addrinfo_hints
fn clone(&self) -> ares_addrinfo_hints
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ares_addrinfo_hints
impl Debug for ares_addrinfo_hints
impl Copy for ares_addrinfo_hints
Auto Trait Implementations§
impl RefUnwindSafe for ares_addrinfo_hints
impl Send for ares_addrinfo_hints
impl Sync for ares_addrinfo_hints
impl Unpin for ares_addrinfo_hints
impl UnwindSafe for ares_addrinfo_hints
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