commit
979e750e89
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ const FIXED_DATA_LENGTH_4_BYTES: u8 = 0b_11;
|
||||||
|
|
||||||
/// IP Address struct. Represents an IP address as a u8 array of length 4.
|
/// IP Address struct. Represents an IP address as a u8 array of length 4.
|
||||||
/// Can be instantiated with [`IpAddress::new`]
|
/// Can be instantiated with [`IpAddress::new`]
|
||||||
#[derive(Copy, Clone, PartialOrd, PartialEq, Default, Debug)]
|
#[derive(Copy, Clone, PartialOrd, PartialEq, Eq, Default, Debug)]
|
||||||
pub struct IpAddress {
|
pub struct IpAddress {
|
||||||
pub address: [u8; 4],
|
pub address: [u8; 4],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue