aurelia 0.1.0

Embeddable service mesh for Rust distributed applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This file is part of the Aurelia workspace.
// SPDX-FileCopyrightText: 2026 Zivatar Limited
// SPDX-License-Identifier: Apache-2.0

use crate::ids::{MessageType, PeerMessageId, TabernaId};
use bytes::Bytes;

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct InflightMessage {
    pub peer_msg_id: PeerMessageId,
    pub src_taberna: TabernaId,
    pub dst_taberna: TabernaId,
    pub msg_type: MessageType,
    pub flags: u16,
    pub payload: Bytes,
}