split generated code so that methods are now in core

This commit is contained in:
nora 2022-02-20 21:22:30 +01:00
parent 3b656b911a
commit c333f20531
20 changed files with 1337 additions and 1206 deletions

View file

@ -1,3 +1,3 @@
#![warn(rust_2018_idioms)]
mod method;
pub mod methods;

View file

@ -1,3 +0,0 @@
use amqp_core::ChannelHandle;
pub async fn handle_method(channel_handle: ChannelHandle) {}

View file

@ -0,0 +1,4 @@
use amqp_core::methods::Method;
use amqp_core::ChannelHandle;
pub async fn handle_method(_channel_handle: ChannelHandle, _method: Method) {}