pub struct TxFlags {
pub skip_cad: bool,
}Expand description
TX flag byte (PROTOCOL.md §6.4).
Bit 0 is skip_cad. Bits 1–7 are reserved and MUST be zero on the
wire; parsing rejects any frame with reserved bits set so the caller
can emit ERR(EPARAM) cleanly.
Fields§
§skip_cad: boolIf true, skip the default CAD-before-TX and transmit immediately.
Implementations§
Trait Implementations§
impl Copy for TxFlags
impl Eq for TxFlags
impl StructuralPartialEq for TxFlags
Auto Trait Implementations§
impl Freeze for TxFlags
impl RefUnwindSafe for TxFlags
impl Send for TxFlags
impl Sync for TxFlags
impl Unpin for TxFlags
impl UnsafeUnpin for TxFlags
impl UnwindSafe for TxFlags
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