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§
source§impl Clone for ares_srv_reply
impl Clone for ares_srv_reply
source§fn clone(&self) -> ares_srv_reply
fn clone(&self) -> ares_srv_reply
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_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§
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