add more docs

This commit is contained in:
Robin Müller 2023-06-12 04:04:52 +02:00
parent 15bc12aede
commit d217a669b2
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 6 additions and 0 deletions

View File

@ -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)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct FileDataPdu<'seg_meta, 'file_data> {

View File

@ -26,6 +26,9 @@ pub enum FileStatus {
Unreported = 0b11,
}
/// Finished PDU abstraction.
///
/// For more information, refer to CFDP chapter 5.2.3.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct FinishedPdu<'fs_responses> {