17 lines
238 B
Rust
17 lines
238 B
Rust
|
use spacepackets::util::UnsignedByteField;
|
||
|
|
||
|
pub struct SourceHandler {
|
||
|
id: UnsignedByteField,
|
||
|
}
|
||
|
|
||
|
impl SourceHandler {
|
||
|
pub fn new(id: impl Into<UnsignedByteField>) -> Self {
|
||
|
Self { id }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#[cfg(test)]
|
||
|
mod tests {
|
||
|
|
||
|
}
|