summaryrefslogtreecommitdiff
path: root/tor-chanmgr/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make a few error types implement CloneNick Mathewson2021-06-141-2/+9
| | | | | | | To make this work we have to wrap std::io::Error in an Arc. The benefit of having these errors implement Clone is that we can provide the same Error in response to multiple requests when they are all waiting on the same operation.
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+1
| | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change).
* cargo fix --edition-idiomsNick Mathewson2021-04-261-1/+1
|
* Refactor and simplify ChanMgr to use AbstractChanMgr.Nick Mathewson2021-04-231-0/+6
|
* Start on tests for reactored ChanMsg.Nick Mathewson2021-04-231-6/+2
|
* Begin refactoring ChanMgr to have better separation of concernsNick Mathewson2021-04-221-0/+25
| | | | | Additionally: Use futures::future::Shared instead of event_listener.
* Stop using anyhow in tor_chanmgr.Nick Mathewson2021-04-221-0/+22
| | | | | It seemed like a good idea at first, but we need to be able to tell the difference between these error types more easily.
* tor-chanmgr: timeout support.Nick Mathewson2020-11-111-0/+4
|
* Use anyhow in tor-circmgr and tor-chanmgrNick Mathewson2020-11-111-18/+0
|
* Implement a channel-manager type to get or launch channels on request.Nick Mathewson2020-10-301-0/+33