#[non_exhaustive]pub struct Framing {
pub frame: u16,
pub arq: Arq,
}Expand description
How a medium’s firmware splits an SDU into air frames (#159).
Many radio modules accept a payload larger than their air frame and fragment it themselves. To the driver that is a medium with a larger SDU; what the seam needs is the honesty: an SDU of s bytes over frames of f is ⌈s/f⌉ frames, each paying its own preamble, and the SDU survives only if every frame does. A module that fragments without per-frame ARQ cannot be reliable over a lossy air (I2), and the plane shows the frames-per-SDU an operator can watch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frame: u16Bytes per air frame.
arq: ArqWhat retransmits a lost frame, as the module states it.
Implementations§
Trait Implementations§
impl Copy for Framing
impl Eq for Framing
impl StructuralPartialEq for Framing
Auto Trait Implementations§
impl Freeze for Framing
impl RefUnwindSafe for Framing
impl Send for Framing
impl Sync for Framing
impl Unpin for Framing
impl UnsafeUnpin for Framing
impl UnwindSafe for Framing
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