#[repr(C)]pub struct NetConn_NetAddr {
pub family: u8,
pub prefixlen: u8,
pub port: u8,
pub address: [c_char; 256],
}Expand description
@brief Defines the network address.
@since 11 @version 1.0
Fields§
§family: u8Network address family
prefixlen: u8Prefix length
port: u8Port number
address: [c_char; 256]Address
Trait Implementations§
Source§impl Clone for NetConn_NetAddr
impl Clone for NetConn_NetAddr
Source§fn clone(&self) -> NetConn_NetAddr
fn clone(&self) -> NetConn_NetAddr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetConn_NetAddr
impl Debug for NetConn_NetAddr
impl Copy for NetConn_NetAddr
Auto Trait Implementations§
impl Freeze for NetConn_NetAddr
impl RefUnwindSafe for NetConn_NetAddr
impl Send for NetConn_NetAddr
impl Sync for NetConn_NetAddr
impl Unpin for NetConn_NetAddr
impl UnsafeUnpin for NetConn_NetAddr
impl UnwindSafe for NetConn_NetAddr
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