<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rpcbase/src, branch arti-v1.1.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-04-19T16:38:26Z</updated>
<entry>
<title>RPC: Log all internal errors.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-19T16:35:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7c1f45a514c0c6f5579be939151a3f75db62d731'/>
<id>urn:sha1:7c1f45a514c0c6f5579be939151a3f75db62d731</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Simplify and clarify SendUpdateError.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-19T16:30:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffcbd8fe8840f9b2e946b52714d79be04f61f073'/>
<id>urn:sha1:ffcbd8fe8840f9b2e946b52714d79be04f61f073</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Arti: Add ability to remember the list of methods names.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T22:43:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=accd3d858f9812eba326306014a9543590d93dad'/>
<id>urn:sha1:accd3d858f9812eba326306014a9543590d93dad</id>
<content type='text'>
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
)
</content>
</entry>
<entry>
<title>rpc: New syntax for method declaration</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T21:37:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6092e99ea356664be8286d17b8e2526576fa6ee'/>
<id>urn:sha1:e6092e99ea356664be8286d17b8e2526576fa6ee</id>
<content type='text'>
Now you just declare your function `my_func` with the right types,
and invoke `rpc_invoke_fn!{ my_func(ObjType, MethodType); }`
</content>
</entry>
<entry>
<title>rpc: impl From&lt;SendUpdateError&gt; for RpcError.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T20:26:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a415b0e2d21d3a35c86ed4f8478486de1750166d'/>
<id>urn:sha1:a415b0e2d21d3a35c86ed4f8478486de1750166d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpcbase: Use with_fn.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T19:52:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f6a4d073e1f92758264f99e290968e7853ba0cd'/>
<id>urn:sha1:6f6a4d073e1f92758264f99e290968e7853ba0cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Minor tweaks to get a sink to compile.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T18:06:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80a13ff898b5abd9002e56bdc388968f0006aa81'/>
<id>urn:sha1:80a13ff898b5abd9002e56bdc388968f0006aa81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Use Method types to determine type of method outputs, updates.</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T17:53:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0503f7bd4bd420df0b06cf9ccdd0b800646108bd'/>
<id>urn:sha1:0503f7bd4bd420df0b06cf9ccdd0b800646108bd</id>
<content type='text'>
This lets us do much less in our rpc_invoke_fn functions.
</content>
</entry>
<entry>
<title>rpc: Split Method into DynMethod and Method</title>
<updated>2023-04-19T16:38:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-18T17:04:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7dcfb02c2201c29cb3237f5921a4130e6fcd567a'/>
<id>urn:sha1:7dcfb02c2201c29cb3237f5921a4130e6fcd567a</id>
<content type='text'>
Now `Method` has an Output and Update associated type, and
`decl_method` can do a little more.
</content>
</entry>
<entry>
<title>rpc: simplify API by always providing a sink.</title>
<updated>2023-04-16T12:46:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-14T16:35:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a2c38a1347d0508c59b81ec34732c1ed8fefddd'/>
<id>urn:sha1:5a2c38a1347d0508c59b81ec34732c1ed8fefddd</id>
<content type='text'>
Previously we have two places where we had to do "make a `Drain` sink
if updates aren't wanted"; now there's only one.
</content>
</entry>
</feed>
