Struct c_ares_sys::ares_addrttl
source · #[repr(C)]pub struct ares_addrttl {
pub ipaddr: in_addr,
pub ttl: c_int,
}
Fields§
§ipaddr: in_addr
§ttl: c_int
Trait Implementations§
source§impl Clone for ares_addrttl
impl Clone for ares_addrttl
source§fn clone(&self) -> ares_addrttl
fn clone(&self) -> ares_addrttl
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 moreimpl Copy for ares_addrttl
Auto Trait Implementations§
impl Freeze for ares_addrttl
impl RefUnwindSafe for ares_addrttl
impl Send for ares_addrttl
impl Sync for ares_addrttl
impl Unpin for ares_addrttl
impl UnwindSafe for ares_addrttl
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