pub struct RelaySettings {
pub xtal_accuracy: XtalAccuracy,
pub cad_to_rx: CadToRx,
}Expand description
What a relay’s radio can do, which every WOR ACK it sends reports.
Fields§
§xtal_accuracy: XtalAccuracyHow accurate its crystal is.
cad_to_rx: CadToRxHow many symbols it takes from detecting a preamble to receiving.
Implementations§
Source§impl RelaySettings
impl RelaySettings
Sourcepub const fn new(
xtal_accuracy: XtalAccuracy,
cad_to_rx: CadToRx,
) -> RelaySettings
pub const fn new( xtal_accuracy: XtalAccuracy, cad_to_rx: CadToRx, ) -> RelaySettings
Trait Implementations§
Source§impl Clone for RelaySettings
impl Clone for RelaySettings
Source§fn clone(&self) -> RelaySettings
fn clone(&self) -> RelaySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelaySettings
Source§impl Debug for RelaySettings
impl Debug for RelaySettings
impl Eq for RelaySettings
Source§impl Hash for RelaySettings
impl Hash for RelaySettings
Source§impl PartialEq for RelaySettings
impl PartialEq for RelaySettings
impl StructuralPartialEq for RelaySettings
Auto Trait Implementations§
impl Freeze for RelaySettings
impl RefUnwindSafe for RelaySettings
impl Send for RelaySettings
impl Sync for RelaySettings
impl Unpin for RelaySettings
impl UnsafeUnpin for RelaySettings
impl UnwindSafe for RelaySettings
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