summaryrefslogtreecommitdiff
path: root/crates/tor-rpcbase/src/method.rs
Commit message (Collapse)AuthorAgeFilesLines
* Arti: Add ability to remember the list of methods names.Nick Mathewson2023-04-191-0/+36
| | | | | | | | | | | | Right now, this lets us say whether the method was unrecognized or whether the parameter type was incorrect. We'll use this to enforce correct method names later on. (I have to add another `inventory` here, since the `typetag` maintainer does not want to expose this functionality: see https://github.com/dtolnay/typetag/issues/57#issuecomment-1506106290 )
* rpc: Split Method into DynMethod and MethodNick Mathewson2023-04-191-9/+39
| | | | | Now `Method` has an Output and Update associated type, and `decl_method` can do a little more.
* tor-rpcbase: Rename cmd.rs to method.rs.Nick Mathewson2023-04-121-0/+52