Struct radio::helpers::PingPongOptions [−][src]
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]
fn clone(&self) -> PingPongOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PingPongOptions
[src]
impl PartialEq<PingPongOptions> for PingPongOptions
[src]
fn eq(&self, other: &PingPongOptions) -> bool
[src]
fn ne(&self, other: &PingPongOptions) -> bool
[src]
impl StructOpt for PingPongOptions
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches<'_>) -> Self
[src]
pub fn from_args() -> Self
[src]
pub fn from_args_safe() -> Result<Self, Error>
[src]
pub fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
pub fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for PingPongOptions
[src]
fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>
[src]
fn is_subcommand() -> bool
[src]
pub fn from_subcommand(
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
[src]
_sub: (&'b str, Option<&'b ArgMatches<'a>>)
) -> Option<Self>
impl StructuralPartialEq for PingPongOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for PingPongOptions
impl Send for PingPongOptions
impl Sync for PingPongOptions
impl Unpin for PingPongOptions
impl UnwindSafe for PingPongOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,