#[repr(C)]pub struct InAddr {
pub s_addr: u32,
}Expand description
IPv4 address (struct in_addr) in network byte order.
Fields§
§s_addr: u32Implementations§
Trait Implementations§
impl Copy for InAddr
impl Eq for InAddr
impl StructuralPartialEq for InAddr
Auto Trait Implementations§
impl Forget for InAddr
impl Freeze for InAddr
impl Move for InAddr
impl RefUnwindSafe for InAddr
impl Send for InAddr
impl Sync for InAddr
impl Unpin for InAddr
impl UnsafeUnpin for InAddr
impl UnwindSafe for InAddr
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