pub struct AarpPacket {
pub hardware_type: u16,
pub protocol_type: u16,
pub hardware_size: u8,
pub protocol_size: u8,
pub opcode: AarpOpcode,
pub sender_addr: EthernetMac,
pub sender_protocol: AppleTalkAddress,
pub target_addr: EthernetMac,
pub target_protocol: AppleTalkAddress,
}Fields§
§hardware_type: u16§protocol_type: u16§hardware_size: u8§protocol_size: u8§opcode: AarpOpcode§sender_addr: EthernetMac§sender_protocol: AppleTalkAddress§target_addr: EthernetMac§target_protocol: AppleTalkAddressImplementations§
Trait Implementations§
Source§impl Debug for AarpPacket
impl Debug for AarpPacket
Source§impl PartialEq for AarpPacket
impl PartialEq for AarpPacket
Source§fn eq(&self, other: &AarpPacket) -> bool
fn eq(&self, other: &AarpPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AarpPacket
impl StructuralPartialEq for AarpPacket
Auto Trait Implementations§
impl Freeze for AarpPacket
impl RefUnwindSafe for AarpPacket
impl Send for AarpPacket
impl Sync for AarpPacket
impl Unpin for AarpPacket
impl UnsafeUnpin for AarpPacket
impl UnwindSafe for AarpPacket
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