pub struct Packet {
pub src: Address,
pub dst: Address,
pub flags: Flags,
pub data: Vec<u8, 61>,
pub rssi: Option<i16>,
}Expand description
Packet that can be sent and received
Fields§
§src: Address§dst: Address§flags: Flags§data: Vec<u8, 61>§rssi: Option<i16>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnsafeUnpin for Packet
impl UnwindSafe for Packet
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