Expand description
General purpose utilities
Modules§
- backoff_
util - broadcaststream
- Copied from
tokio_stream
0.1.12 to use our optional Send bounds - update_
merge
Structs§
- SafeUrl
- Wrapper for
Url
that only prints the scheme, domain, port and path portion of aUrl
in itsDisplay
implementation. - Spanned
Enums§
Traits§
Functions§
- handle_
version_ hash_ command - For CLIs, detects
version-hash
as a single argument, prints the provided version hash, then exits the process. - retry
- Run the supplied closure
op_fn
until it succeeds. Frequency and number of retries is determined by the specified strategy. - write_
new - Write out a new file (like
std::fs::write
but fails if file already exists) - write_
new_ async - write_
overwrite - write_
overwrite_ async