consume prototype

This commit is contained in:
nora 2022-03-01 21:52:00 +01:00
parent beb2187cd6
commit 93ce632b5d
21 changed files with 328 additions and 108 deletions

View file

@ -1,6 +1,4 @@
#![allow(dead_code)]
use crate::methods;
use crate::connection::ContentHeader;
use crate::newtype_id;
use bytes::Bytes;
use smallvec::SmallVec;
@ -13,7 +11,7 @@ newtype_id!(pub MessageId);
#[derive(Debug)]
pub struct RawMessage {
pub id: MessageId,
pub properties: methods::Table,
pub header: ContentHeader,
pub routing: RoutingInformation,
pub content: SmallVec<[Bytes; 1]>,
}