Expand description
General purpose utilities
Re-exports§
pub use backon;
Modules§
- Copied from
tokio_stream0.1.12 to use our optional Send bounds
Structs§
- Wrapper for
Urlthat only prints the scheme, domain, port and path portion of aUrlin itsDisplayimplementation. This is useful to hide private information like user names and passwords in logs or UIs.
Traits§
Functions§
- For CLIs, detects
version-hashas a single argument, prints the provided version hash, then exits the process. - Run the supplied closure
op_fnuntil it succeeds. Frequency and number of retries is determined by the specified strategy. - Write out a new file (like
std::fs::writebut fails if file already exists)
Type Aliases§
- Future that is
Sendunless targeting WASM - Stream that is
Sendunless targeting WASM