pub struct Args {Show 17 fields
pub devices: Vec<String>,
pub list: bool,
pub average_window: u32,
pub max_incoming: u64,
pub max_outgoing: u64,
pub refresh_interval: u64,
pub high_performance: bool,
pub traffic_unit: TrafficUnit,
pub data_unit: DataUnit,
pub multiple_devices: bool,
pub log_file: Option<String>,
pub test: bool,
pub debug_dashboard: bool,
pub show_comparison: bool,
pub show_overview: bool,
pub force_terminal: bool,
pub sre_terminal: bool,
}Fields§
§devices: Vec<String>Network devices to monitor (default: auto-detect all)
list: boolList available network interfaces and exit
average_window: u32Average window in seconds
max_incoming: u64Max incoming bandwidth scaling (kBit/s, 0 = auto)
max_outgoing: u64Max outgoing bandwidth scaling (kBit/s, 0 = auto)
refresh_interval: u64Refresh interval in milliseconds
high_performance: boolHigh performance mode - reduces CPU usage for heavy traffic scenarios
traffic_unit: TrafficUnitTraffic unit format (h=human-bit, H=human-byte, b=bit, B=byte, k=kbit, K=kbyte, m=mbit, M=mbyte, g=gbit, G=gbyte)
data_unit: DataUnitData unit format (same as -u but for totals)
multiple_devices: boolShow multiple devices without graphs
log_file: Option<String>Log traffic data to file
test: boolTest mode - print statistics once and exit (bypass TUI)
debug_dashboard: boolShow dashboard data without TUI (debug mode)
show_comparison: boolShow before/after comparison of dashboard enhancements
show_overview: boolShow overview panel data in text mode (no TUI)
force_terminal: boolForce terminal mode (bypass TUI for testing)
sre_terminal: boolForce SRE forensics terminal mode
Implementations§
Trait Implementations§
Source§impl Args for Args
impl Args for Args
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Args
impl CommandFactory for Args
Source§impl FromArgMatches for Args
impl FromArgMatches for Args
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>
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>
ArgMatches to self.Source§impl Parser for Args
impl Parser for Args
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, 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 Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more