sat-rs/satrs-core/src/cfdp/source.rs
Robin Mueller 520ee17551
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good
some smaller fixes and tweaks
2023-09-21 18:44:33 +02:00

16 lines
268 B
Rust

#![allow(dead_code)]
use spacepackets::util::UnsignedByteField;
pub struct SourceHandler {
id: UnsignedByteField,
}
impl SourceHandler {
pub fn new(id: impl Into<UnsignedByteField>) -> Self {
Self { id: id.into() }
}
}
#[cfg(test)]
mod tests {}