Struct libc::sockaddr_in
#[repr(C)]
pub struct sockaddr_in {
pub sin_family: sa_family_t,
pub sin_port: ::in_port_t,
pub sin_addr: ::in_addr,
pub sin_zero: [u8; 8],
}
Fields
pub sin_family: sa_family_t
pub sin_port: ::in_port_t
pub sin_addr: ::in_addr
pub sin_zero: [u8; 8]
Trait Implementations
impl Clone for sockaddr_in
fn clone(&Self) -> sockaddr_in
impl Copy for sockaddr_in
impl Debug for sockaddr_in
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for sockaddr_in
impl Hash for sockaddr_in
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<sockaddr_in> for sockaddr_in
fn eq(&Self, other: &sockaddr_in) -> bool
fn ne(&Self, other: &sockaddr_in) -> bool
impl StructuralEq for sockaddr_in
impl StructuralPartialEq for sockaddr_in
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_in
impl Send for sockaddr_in
impl Sync for sockaddr_in
impl Unpin for sockaddr_in
impl UnwindSafe for sockaddr_in
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T