sat-rs/satrs-core/src/cfdp/source.rs

15 lines
247 B
Rust
Raw Normal View History

2023-09-10 21:11:44 +02:00
use spacepackets::util::UnsignedByteField;
pub struct SourceHandler {
id: UnsignedByteField,
}
impl SourceHandler {
pub fn new(id: impl Into<UnsignedByteField>) -> Self {
2023-09-21 18:36:59 +02:00
Self { id: id.into() }
2023-09-10 21:11:44 +02:00
}
}
#[cfg(test)]
2023-09-21 18:36:59 +02:00
mod tests {}