pub enum LogSubcommands {
Metadata {
tio: TioOpts,
file: String,
},
Dump {
files: Vec<String>,
data: bool,
meta: bool,
sensor: String,
depth: Option<usize>,
},
DataDump {
files: Vec<String>,
},
Csv {
args: Vec<String>,
sensor: Option<String>,
output: Option<String>,
},
Hdf {
files: Vec<String>,
output: Option<String>,
filter: Option<String>,
compress: bool,
debug: bool,
split_level: SplitLevel,
split_policy: SplitPolicy,
},
}Variants§
Metadata
Log metadata to a file
Dump
Dump data from binary log file(s)
Fields
DataDump
Dump parsed data from binary log file(s) [DEPRECATED: use log-dump -d]
Csv
Convert binary log data to CSV
Fields
Hdf
Convert binary log files to HDF5 format
Fields
§
split_level: SplitLevelHow to organize runs in the output (none=flat, stream=per-stream, device=per-device, global=all-shared)
§
split_policy: SplitPolicyWhen to detect discontinuities (continuous=any gap, monotonic=only time backward)
Trait Implementations§
Source§impl Debug for LogSubcommands
impl Debug for LogSubcommands
Source§impl FromArgMatches for LogSubcommands
impl FromArgMatches for LogSubcommands
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for LogSubcommands
impl Subcommand for LogSubcommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for LogSubcommands
impl RefUnwindSafe for LogSubcommands
impl Send for LogSubcommands
impl Sync for LogSubcommands
impl Unpin for LogSubcommands
impl UnsafeUnpin for LogSubcommands
impl UnwindSafe for LogSubcommands
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
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>
Converts
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>
Converts
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