From 15f97e960b23a18d2d0f3023ac95b30589021581 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 ab3ff34..f81e4ec 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, -- 2.43.0