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
Commandwith 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
FromStrimplementation - Core Diagnostic wrapper type.
- Wraps a std
Filewhich provides extra context for errors and buffered writing. - A json
Format. - The number formatter configurations. See the module documentation for use.
- A
PrimitiveDateTimewith 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
FromStrimplementation - 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
Commandwhich takeself. - Execute a command.
- Output
Commandas 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::Errorto aResult<T, Report>. - An
Iteratorblanket implementation that provides extra adaptors and methods. - The
Readtrait allows for reading bytes from a source. - A trait which gives any
Reader theread_asfunction 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_ason a type to serialise it into a specific format and write it into aWriter.
Functions§
- Get the command line
Args. - Create a channel with a maximum capacity.
- List out the directory entries under
pathwhich 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>