Struct radio::helpers::EchoOptions
source · pub struct EchoOptions {
pub continuous: bool,
pub power: Option<i8>,
pub delay: Duration,
pub append_info: bool,
pub blocking_options: BlockingOptions,
}
Expand description
Configuration for Echo operation
Fields§
§continuous: bool
Run continuously
power: Option<i8>
Power in dBm (range -18dBm to 13dBm)
delay: Duration
Specify delay for response message
append_info: bool
Append RSSI and LQI to repeated message
blocking_options: BlockingOptions
Trait Implementations§
source§impl Args for EchoOptions
impl Args for EchoOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for EchoOptions
impl Clone for EchoOptions
source§fn clone(&self) -> EchoOptions
fn clone(&self) -> EchoOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CommandFactory for EchoOptions
impl CommandFactory for EchoOptions
source§impl Debug for EchoOptions
impl Debug for EchoOptions
source§impl FromArgMatches for EchoOptions
impl FromArgMatches for EchoOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for EchoOptions
impl Parser for EchoOptions
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
source§impl PartialEq for EchoOptions
impl PartialEq for EchoOptions
source§fn eq(&self, other: &EchoOptions) -> bool
fn eq(&self, other: &EchoOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EchoOptions
Auto Trait Implementations§
impl Freeze for EchoOptions
impl RefUnwindSafe for EchoOptions
impl Send for EchoOptions
impl Sync for EchoOptions
impl Unpin for EchoOptions
impl UnwindSafe for EchoOptions
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