Struct V4
pub(crate) struct V4(pub(crate) Ipv4Addr);Expand description
An IPv4 address sent as a little-endian u32.
The address 192.168.0.1 is the integer 0xC0A80001.
Tuple Fields§
§0: Ipv4AddrTrait Implementations§
impl Copy for V4
impl Eq for V4
impl StructuralPartialEq for V4
Auto Trait Implementations§
impl Freeze for V4
impl RefUnwindSafe for V4
impl Send for V4
impl Sync for V4
impl Unpin for V4
impl UnsafeUnpin for V4
impl UnwindSafe for V4
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