<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rpcbase/src/dispatch.rs, branch arti-v1.2.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.2.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-05-16T12:40:06Z</updated>
<entry>
<title>Add a few "TODO RPC" notes</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-16T12:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=854b1507c95ca7edde01c545b0c7375912168944'/>
<id>urn:sha1:854b1507c95ca7edde01c545b0c7375912168944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Expose dispatch table from Context</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:52:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=533b34a55b268ec73ac032dd8e3d360f2d43b985'/>
<id>urn:sha1:533b34a55b268ec73ac032dd8e3d360f2d43b985</id>
<content type='text'>
We need to do this so that we can actually invoke RPC functions
from one another.
</content>
</entry>
<entry>
<title>RPC: Fill in documentation about invoke_special</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:45:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69510aaa1750362d6df9d7e92b9b139d70071e17'/>
<id>urn:sha1:69510aaa1750362d6df9d7e92b9b139d70071e17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests for invoke_special</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:37:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e3091d7ddd334e97dfd180d428cdfa1efdcb0350'/>
<id>urn:sha1:e3091d7ddd334e97dfd180d428cdfa1efdcb0350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Fix types for DispatchTable::invoke_special</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:35:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=876d86bbdac363a810b020af06b74114189fad6c'/>
<id>urn:sha1:876d86bbdac363a810b020af06b74114189fad6c</id>
<content type='text'>
Now that Method::Error exists, we can downcast Any to the actual
function's return type.
</content>
</entry>
<entry>
<title>RPC: Require an Error type in methods.</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T18:19:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98765e5a4cdf70356db38d324b0896d2b6f83c2f'/>
<id>urn:sha1:98765e5a4cdf70356db38d324b0896d2b6f83c2f</id>
<content type='text'>
This is needed so that we can cast special methods' return types
properly.

I wish I could make this optional, but Rust doesn't allow
defaulting an associated type.
</content>
</entry>
<entry>
<title>Rpc: Allow invoker_ents to be marked as @special</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T17:55:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=035f624f3228aa95f8229df9014e5574d2bf2d5e'/>
<id>urn:sha1:035f624f3228aa95f8229df9014e5574d2bf2d5e</id>
<content type='text'>
A @special invoker does not get an RPC entry.
</content>
</entry>
<entry>
<title>Relax Serialize requirement on method outputs.</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T17:36:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=704b1ec7f9e92208b548ebf0e9ee50adfe9aa0d0'/>
<id>urn:sha1:704b1ec7f9e92208b548ebf0e9ee50adfe9aa0d0</id>
<content type='text'>
Now Methods can return anything; and only if their outputs are
Serialize will they implement RpcInvocable.
</content>
</entry>
<entry>
<title>Split Invocable into RpcInvocable.</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T17:24:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=824e518c8b703c5575302a914aa17606ba3efb8a'/>
<id>urn:sha1:824e518c8b703c5575302a914aa17606ba3efb8a</id>
<content type='text'>
RpcInvocable will only be implemented on types whose output
can be serialized.
</content>
</entry>
<entry>
<title>RPC: Add an "invoke special" mechanism</title>
<updated>2024-05-16T12:40:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T16:06:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9c4040ea50ed3d89edce49e1dc8476ab3fda73c'/>
<id>urn:sha1:d9c4040ea50ed3d89edce49e1dc8476ab3fda73c</id>
<content type='text'>
This is part of work on #1403.
</content>
</entry>
</feed>
