Struct c_ares_sys::ares_srv_reply
source · #[repr(C)]pub struct ares_srv_reply {
pub next: *mut ares_srv_reply,
pub host: *mut c_char,
pub priority: c_ushort,
pub weight: c_ushort,
pub port: c_ushort,
}
Fields
next: *mut ares_srv_reply
host: *mut c_char
priority: c_ushort
weight: c_ushort
port: c_ushort
Trait Implementations
sourceimpl Clone for ares_srv_reply
impl Clone for ares_srv_reply
sourcefn clone(&self) -> ares_srv_reply
fn clone(&self) -> ares_srv_reply
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ares_srv_reply
impl Debug for ares_srv_reply
impl Copy for ares_srv_reply
Auto Trait Implementations
impl RefUnwindSafe for ares_srv_reply
impl !Send for ares_srv_reply
impl !Sync for ares_srv_reply
impl Unpin for ares_srv_reply
impl UnwindSafe for ares_srv_reply
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