Skip to main content

WsjtApCompatible

Trait WsjtApCompatible 

Source
pub trait WsjtApCompatible: MessageCodec + Sealed { }
Expand description

Marker trait for MessageCodecs whose information-bit layout matches the 77-bit Wsjt77 family field positions (call1 at 0..28, call2 at 29..57, grid at 58..73, message-type i3 at 74..76). Used to gate the callsign/grid-based ApHint AP path to compatible protocols.

Implementing this trait is an assertion that the codec’s bit layout is byte-for-byte equivalent to crate::msg::Wsjt77Message for the first 77 bits — the AP module reads / writes those positions directly. Codecs with different layouts (e.g. byte-oriented packet codecs whose first bits encode a length field rather than a callsign hash) must NOT implement this trait; they need their own AP design.

Sealed: only the mfsk-core crate may implement.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl WsjtApCompatible for Q65Message

Available on crate feature q65 only.
Source§

impl WsjtApCompatible for Wsjt77Message