pub struct Received {
pub source: MacAddress,
pub length: usize,
pub group: bool,
}Expand description
A frame received on a Socket.
Fields§
§source: MacAddress§length: usizeOctets of payload written to the buffer, after the Ethernet header.
group: boolSent to a multicast or broadcast address rather than to us.
Trait Implementations§
impl Copy for Received
impl Eq for Received
impl StructuralPartialEq for Received
Auto Trait Implementations§
impl Forget for Received
impl Freeze for Received
impl Move for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnsafeUnpin for Received
impl UnwindSafe for Received
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