pub struct RttChannelConfig {
pub channel_number: Option<usize>,
pub channel_name: Option<String>,
pub data_format: DataFormat,
pub show_timestamps: bool,
pub show_location: bool,
}Expand description
The User specified configuration for each active RTT Channel. The configuration is passed via a DAP Client configuration (launch.json). If no configuration is specified, the defaults will be Dataformat::String and show_timestamps=false.
Fields§
§channel_number: Option<usize>§channel_name: Option<String>§data_format: DataFormat§show_timestamps: bool§show_location: boolTrait Implementations§
Source§impl Args for RttChannelConfig
impl Args for RttChannelConfig
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for RttChannelConfig
impl Clone for RttChannelConfig
Source§fn clone(&self) -> RttChannelConfig
fn clone(&self) -> RttChannelConfig
Returns a duplicate 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 RttChannelConfig
impl CommandFactory for RttChannelConfig
Source§impl Debug for RttChannelConfig
impl Debug for RttChannelConfig
Source§impl Default for RttChannelConfig
impl Default for RttChannelConfig
Source§fn default() -> RttChannelConfig
fn default() -> RttChannelConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RttChannelConfig
impl<'de> Deserialize<'de> for RttChannelConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromArgMatches for RttChannelConfig
impl FromArgMatches for RttChannelConfig
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 RttChannelConfig
impl Parser for RttChannelConfig
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)
Auto Trait Implementations§
impl Freeze for RttChannelConfig
impl RefUnwindSafe for RttChannelConfig
impl Send for RttChannelConfig
impl Sync for RttChannelConfig
impl Unpin for RttChannelConfig
impl UnwindSafe for RttChannelConfig
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