Struct panda_sys::InetSocketAddress
source · #[repr(C)]pub struct InetSocketAddress {
pub host: *mut c_char,
pub port: *mut c_char,
pub has_numeric: bool,
pub numeric: bool,
pub has_to: bool,
pub to: u16,
pub has_ipv4: bool,
pub ipv4: bool,
pub has_ipv6: bool,
pub ipv6: bool,
}
Fields§
§host: *mut c_char
§port: *mut c_char
§has_numeric: bool
§numeric: bool
§has_to: bool
§to: u16
§has_ipv4: bool
§ipv4: bool
§has_ipv6: bool
§ipv6: bool
Trait Implementations§
source§impl Clone for InetSocketAddress
impl Clone for InetSocketAddress
source§fn clone(&self) -> InetSocketAddress
fn clone(&self) -> InetSocketAddress
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 InetSocketAddress
impl Debug for InetSocketAddress
impl Copy for InetSocketAddress
Auto Trait Implementations§
impl RefUnwindSafe for InetSocketAddress
impl !Send for InetSocketAddress
impl !Sync for InetSocketAddress
impl Unpin for InetSocketAddress
impl UnwindSafe for InetSocketAddress
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