Expand description
Typical imports.
Re-exports§
pub use super::deps;
pub use ::comfy_table;
pub use ::fastrand;
pub use ::howudoin;
pub use ::rayon;
pub use super::cmd::Output::*;
Macros§
- Return early with an error.
- Construct a
[String]
array from a list of arguments. - Helper to construct a
Command
with arguments. - Return early with an error if a condition is not satisfied.
- Construct an ad-hoc
Report
.
Structs§
- Arguments iterator.
- A CSV
Format
. - Date in the proleptic Gregorian calendar.
- A wrapper for duration that has
FromStr
implementation - Core Diagnostic wrapper type.
- Wraps a std
File
which provides extra context for errors and buffered writing. - A json
Format
. - The number formatter configurations. See the module documentation for use.
- A
PrimitiveDateTime
with aUtcOffset
. - Combined date and time.
- The receiving end of a channel.
- A compiled regular expression for searching Unicode haystacks.
- A transmitting end of a channel.
- A toml
Format
. - The clock time within a given date. Nanosecond precision.
- A wrapper for SystemTime that has
FromStr
implementation - An offset from UTC.
Enums§
- Represents any valid JSON value.
- Months of the year.
- Describes the handling of a command execution for implementors of
CommandExecute
. - Days of the week.
Traits§
- Methods on
Command
which takeself
. - Execute a command.
- Output
Command
as a text string, useful for debugging. - A data structure that can be deserialized from any data format supported by Serde.
- A data structure that can be deserialized without borrowing any data from the deserializer.
- Convenience trait that adds a
.into_diagnostic()
method that converts a type implementingstd::error::Error
to aResult<T, Report>
. - An
Iterator
blanket implementation that provides extra adaptors and methods. - The
Read
trait allows for reading bytes from a source. - A trait which gives any
Read
er theread_as
function which can be used to read with a specific format. - A data structure that can be serialized into any data format supported by Serde.
- Provides the
wrap_err()
method forResult
. - A trait for objects which are byte-oriented sinks.
- A trait which can supply
write_as
on a type to serialise it into a specific format and write it into aWrite
r.
Functions§
- Get the command line
Args
. - Create a channel with a maximum capacity.
- List out the directory entries under
path
which match the glob patternmatching
. - Parse duration object
1hour 12min 5s
- Create a channel with no maximum capacity.
Type Aliases§
- type alias for
Result<T, Report>