some cleanup

This commit is contained in:
nora 2022-02-26 22:26:35 +01:00
parent 8532d454c3
commit 6d944e1265
12 changed files with 190 additions and 151 deletions

View file

@ -1,4 +1,4 @@
use crate::frame::{ChannelId, FrameType};
use crate::frame::{ChannelNum, FrameType};
use crate::{frame, methods};
use amqp_core::methods::{FieldValue, Method};
use std::collections::HashMap;
@ -21,7 +21,7 @@ async fn write_start_ok_frame() {
let frame = frame::Frame {
kind: FrameType::Method,
channel: ChannelId::zero(),
channel: ChannelNum::zero(),
payload: payload.into(),
};