improve tracing

This commit is contained in:
nora 2022-03-07 15:15:47 +01:00
parent bd5d4c03c5
commit 08fa9163b8
14 changed files with 273 additions and 150 deletions

View file

@ -3,12 +3,12 @@ use bytes::Bytes;
use smallvec::SmallVec;
use std::sync::Arc;
pub type Message = Arc<RawMessage>;
pub type Message = Arc<MessageInner>;
newtype_id!(pub MessageId);
#[derive(Debug)]
pub struct RawMessage {
pub struct MessageInner {
pub id: MessageId,
pub header: ContentHeader,
pub routing: RoutingInformation,