2023-09-21 18:44:33 +02:00
|
|
|
#![allow(dead_code)]
|
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 {}
|