Implement basic test for the client interface

This commit is contained in:
2024-06-21 11:28:46 +02:00
parent e6e9610d1f
commit b4f1e1b092
4 changed files with 91 additions and 19 deletions

View File

@@ -123,6 +123,7 @@ fn derive_protocol(input: proc_macro2::TokenStream) -> proc_macro2::TokenStream
// Create an error and result type for sending messages
let error_enum = quote! {
#[derive(Debug)]
#vis enum #error_enum_name {
SendError(tokio::sync::mpsc::error::SendError<(u64, #question_enum_name)>),
Closed,