pub struct InPacket<'a, P: Payload> {
pub control: Controller<'a>,
pub packet: IpPacket<'a, P>,
}Expand description
An incoming packet.
The contents were inspected and could be handled up to the ip layer.
Fields§
§control: Controller<'a>A reference to the IP endpoint state.
packet: IpPacket<'a, P>The valid packet inside the buffer.
Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for In<'a, P>
impl<'a, P> !RefUnwindSafe for In<'a, P>
impl<'a, P> !Send for In<'a, P>
impl<'a, P> !Sync for In<'a, P>
impl<'a, P> Unpin for In<'a, P>
impl<'a, P> !UnwindSafe for In<'a, P>
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