From 8137e14f5ad82d29fe6941421b0dd0b32ae7544f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 15 Sep 2025 14:25:03 +0200 Subject: [PATCH] NAK constructor is pub --- src/cfdp/pdu/nak.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cfdp/pdu/nak.rs b/src/cfdp/pdu/nak.rs index f7fc962..9d2c2e7 100644 --- a/src/cfdp/pdu/nak.rs +++ b/src/cfdp/pdu/nak.rs @@ -162,7 +162,9 @@ impl<'seg_reqs> NakPduCreator<'seg_reqs> { ) } - fn new( + /// The large file flag of the PDU header will be set automatically based on the type of + /// [SegmentRequests]. + pub fn new( mut pdu_header: PduHeader, start_of_scope: u64, end_of_scope: u64,