Crate rspc_procedure

Source
Expand description

Interface for a single type-erased operation that the server can execute.

HTTP integrations should prefer to depend on this crate instead of rspc.

TODO: Describe all the types and why the split? TODO: This is kinda like tower::Service TODO: Why this crate doesn’t depend on Specta. TODO: Discuss the traits that need to be layered on for this to be useful. TODO: Discuss how middleware don’t exist here.

TODO: Results must be 'static because they have to escape the closure.

Structs§

DeserializeError
TODO
DowncastError
TODO
DynInput
TODO
DynOutput
TODO
Procedure
a single type-erased operation that the server can execute.
ProcedureStream
TODO
ProcedureStreamMap
Procedures
ResolverError
TODO
State

Enums§

ProcedureError
TODO

Functions§

flush
TODO