pub enum Event {
Joined {
dev_eui: [u8; 8],
dev_addr: u32,
accept: Txpk,
},
Data {
dev_addr: u32,
fcnt: u32,
fport: Option<u8>,
payload: Vec<u8>,
confirmed: bool,
slot: Slot,
},
Foreign {
dev_addr: u32,
},
}Expand description
What a forwarded packet turned out to be.
Variants§
Joined
A device joined, and the accept is ready to transmit.
Fields
Data
A session frame arrived, decrypted.
Fields
Foreign
A data frame for an address this network has not granted, which is another network’s traffic and is not an error.
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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