#[repr(C)]pub struct ares_addrttl {
pub ipaddr: in_addr,
pub ttl: c_int,
}Fields§
§ipaddr: in_addr§ttl: c_intTrait 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 duplicate of the value. Read more
1.0.0§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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)