Robin Mueller
520ee17551
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good
16 lines
268 B
Rust
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 {}
|