CFDP initial packet support #14
@ -81,6 +81,9 @@ impl<'seg_meta> SegmentMetadata<'seg_meta> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// File Data PDU abstraction.
|
||||||
|
///
|
||||||
|
/// For more information, refer to CFDP chapter 5.3.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
pub struct FileDataPdu<'seg_meta, 'file_data> {
|
pub struct FileDataPdu<'seg_meta, 'file_data> {
|
||||||
|
@ -26,6 +26,9 @@ pub enum FileStatus {
|
|||||||
Unreported = 0b11,
|
Unreported = 0b11,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Finished PDU abstraction.
|
||||||
|
///
|
||||||
|
/// For more information, refer to CFDP chapter 5.2.3.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
pub struct FinishedPdu<'fs_responses> {
|
pub struct FinishedPdu<'fs_responses> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user