pub struct TncConfig {
pub preamble_ms: u32,
pub txtail_ms: u32,
pub persistence: u8,
pub slottime_ms: u32,
}Expand description
Millisecond values are divided by ten and clamped to a byte, matching RNS; persistence is sent as-is.
Fields§
§preamble_ms: u32§txtail_ms: u32§persistence: u8§slottime_ms: u32Implementations§
Trait Implementations§
impl Copy for TncConfig
impl Eq for TncConfig
impl StructuralPartialEq for TncConfig
Auto Trait Implementations§
impl Freeze for TncConfig
impl RefUnwindSafe for TncConfig
impl Send for TncConfig
impl Sync for TncConfig
impl Unpin for TncConfig
impl UnsafeUnpin for TncConfig
impl UnwindSafe for TncConfig
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