Expand description
§Command line duration
§Project
- License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
- This project follows Semantic Versioning 2.0.0
§Features
This project helps parse Duration from command line arguments.
§Notes
Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.
Modules§
- version_
info 0.5.1(February 22nd, 2023)
Structs§
- ClDuration
- Command line duration
- Error
- Error
Constants§
- CODE_
NAME - Crate code name
- DAY
- One day in seconds
- HOUR
- An hour in seconds
- ID
- ID of this crate
- MINUTE
- One minute in seconds
- NAME
- Crate name
- RELEASE_
DATE - Crate release date (year/month/day)
- TAG
- Tag, which can be used for logging…
- VERSION
- Crate version
- WEEK
- One week in seconds
Functions§
- from_
micros - Makes new duration from microseconds
- from_
millis - Makes new duration from milliseconds
- from_
nanos - Makes new duration from nanoseconds
- from_
secs - Makes new duration from seconds
- new
- Makes new duration from
Duration
Type Aliases§
- Result
- Result type used in this crate