Struct radio::helpers::PingPongOptions[][src]

pub struct PingPongOptions {
    pub rounds: u32,
    pub power: Option<i8>,
    pub delay: HumanDuration,
    pub parse_info: bool,
    pub blocking_options: BlockingOptions,
}

Configuration for Echo operation

Fields

rounds: u32

Specify the number of rounds to tx/rx

power: Option<i8>

Power in dBm (range -18dBm to 13dBm)

delay: HumanDuration

Specify delay for response message

parse_info: bool

Parse RSSI and other info from response messages (echo server must have –append-info set)

blocking_options: BlockingOptions

Trait Implementations

impl Clone for PingPongOptions[src]

impl Debug for PingPongOptions[src]

impl PartialEq<PingPongOptions> for PingPongOptions[src]

impl StructOpt for PingPongOptions[src]

impl StructOptInternal for PingPongOptions[src]

impl StructuralPartialEq for PingPongOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.