TLV and TV abstractions complete
This commit is contained in:
@ -1,15 +1,17 @@
|
||||
use crate::cfdp::lv::Lv;
|
||||
use crate::cfdp::pdu::{FileDirectiveType, PduHeader};
|
||||
use crate::cfdp::ChecksumType;
|
||||
|
||||
pub struct MetadataParams {
|
||||
pub struct MetadataGenericParams {
|
||||
closure_requested: bool,
|
||||
checksum_type: ChecksumType,
|
||||
file_size: u64,
|
||||
//src_file_name:
|
||||
}
|
||||
|
||||
pub struct MetadataPdu {
|
||||
pub struct MetadataPdu<'src_name, 'dest_name> {
|
||||
pdu_header: PduHeader,
|
||||
file_directive: FileDirectiveType,
|
||||
metadata_params: MetadataParams,
|
||||
metadata_params: MetadataGenericParams,
|
||||
src_file_name: Option<Lv<'src_name>>,
|
||||
dest_file_name: Option<Lv<'dest_name>>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user