We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presently when one defines a capnproto RPC, one gets generated traits like this:
pub trait Server<> { fn do_stuff(&mut self, _: DoStuffParams<>, _: DoStuffResults<>) -> ::capnp::capability::Promise<(), ::capnp::Error> { ::capnp::capability::Promise::err(::capnp::Error::unimplemented("method handle::Server::do_stuff not implemented".to_string())) } }
this means that when adding new RPC methods the rust compiler is unable to help discover missing implementations.
It would be nice to opt out of these provided methods so that runtime errors are promoted to compile-time.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Presently when one defines a capnproto RPC, one gets generated traits like this:
this means that when adding new RPC methods the rust compiler is unable to help discover missing implementations.
It would be nice to opt out of these provided methods so that runtime errors are promoted to compile-time.
The text was updated successfully, but these errors were encountered: