aboutsummaryrefslogtreecommitdiff
path: root/src/message.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-01 12:46:33 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-01 12:46:33 +0200
commit4a59b73d7bfd0f136f654e874afb5d2a9bf4df2e (patch)
tree574f03f8af36ed687a89eb295621be4610fed79c /src/message.rs
parentcd203f5708907c2bf172a3c5b7c5b40e2557b2f4 (diff)
downloadnetapp-4a59b73d7bfd0f136f654e874afb5d2a9bf4df2e.tar.gz
netapp-4a59b73d7bfd0f136f654e874afb5d2a9bf4df2e.zip
Add actual support for order tag
Diffstat (limited to 'src/message.rs')
-rw-r--r--src/message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.rs b/src/message.rs
index ca68cac..1834f28 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -44,7 +44,7 @@ pub const PRIO_SECONDARY: RequestPriority = 0x01;
#[derive(Clone, Copy)]
pub struct OrderTagStream(u64);
#[derive(Clone, Copy, Serialize, Deserialize, Debug)]
-pub struct OrderTag(u64, u64);
+pub struct OrderTag(pub(crate) u64, pub(crate) u64);
impl OrderTag {
pub fn stream() -> OrderTagStream {