#[repr(C)]pub struct InetSocketAddress {
pub host: *mut i8,
pub port: *mut i8,
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 i8§port: *mut i8§has_numeric: bool§numeric: bool§has_to: bool§to: u16§has_ipv4: bool§ipv4: bool§has_ipv6: bool§ipv6: boolTrait Implementations§
Source§impl Clone for InetSocketAddress
impl Clone for InetSocketAddress
Source§fn clone(&self) -> InetSocketAddress
fn clone(&self) -> InetSocketAddress
Returns a duplicate 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 Freeze for InetSocketAddress
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