#[repr(C)]pub struct SockAddrIn {
pub port: u16,
pub addr: u32,
/* private fields */
}
Fields§
§port: u16
§addr: u32
Implementations§
Trait Implementations§
Source§impl Clone for SockAddrIn
impl Clone for SockAddrIn
Source§fn clone(&self) -> SockAddrIn
fn clone(&self) -> SockAddrIn
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 Display for SockAddrIn
impl Display for SockAddrIn
impl Copy for SockAddrIn
Auto Trait Implementations§
impl Freeze for SockAddrIn
impl RefUnwindSafe for SockAddrIn
impl Send for SockAddrIn
impl Sync for SockAddrIn
impl Unpin for SockAddrIn
impl UnwindSafe for SockAddrIn
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