summaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use "extend" for tor-memquota ArcMemoryQuotaTrackerExtIan Jackson2026-07-161-4/+2
|
* memquota: Provide a method Arc::<MemoryQuotaTracker>::new_noop()Ian Jackson2024-10-151-1/+15
| | | | | | | We'll need this to allow `ToplevelAccount::new_noop` (eg, in tests) when the type of ToplevelAccount changes. We have to do this via an extension trait.
* Fix typosDimitris Apostolou2024-09-031-1/+1
|
* Remove NoopWaker; use futures::task::noop_waker_ref insteadJim Newsome2024-08-271-13/+0
|
* byte_qty: Move Qty into its own module, byte_qty.Ian Jackson2024-08-271-56/+0
| | | | | | | Code motion, part 1. Also explain in comments at the top of the new module why we are doing this at all rather than using an existing thing.
* tor-memquota: Provide StreamUnobtrusivePeekerIan Jackson2024-07-241-0/+13
| | | | | | I'm not particularly pleased with this name. We need names for both the type, and the trait we'll almost certainly want to introduce in the future.
* Rename tor-memtrack to tor-memquotaIan Jackson2024-04-291-0/+69