pub enum DigiAction {
Drop,
NotUiFrame,
LoopDetected,
Duplicate,
Relay {
modified_packet: Ax25Packet,
},
}Expand description
Result of digipeater processing.
Variants§
Drop
Do not relay this packet (no alias matched).
NotUiFrame
The packet was not a UI frame (control != 0x03 or PID != 0xF0). APRS uses only UI frames, so this is effectively a pass-through.
LoopDetected
Loop detected — our own callsign is already in the used path.
Duplicate
Duplicate packet — we already relayed this one within the TTL window.
Relay
Relay with modified digipeater path.
Fields
§
modified_packet: Ax25PacketThe packet with its path modified for retransmission.
Trait Implementations§
Source§impl Clone for DigiAction
impl Clone for DigiAction
Source§fn clone(&self) -> DigiAction
fn clone(&self) -> DigiAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DigiAction
impl Debug for DigiAction
Source§impl PartialEq for DigiAction
impl PartialEq for DigiAction
impl Eq for DigiAction
impl StructuralPartialEq for DigiAction
Auto Trait Implementations§
impl Freeze for DigiAction
impl RefUnwindSafe for DigiAction
impl Send for DigiAction
impl Sync for DigiAction
impl Unpin for DigiAction
impl UnwindSafe for DigiAction
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