add empty source handler
Some checks failed
Rust/sat-rs/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Robin Müller 2023-09-10 21:11:44 +02:00
parent 3ec6590c23
commit ead708b1bb
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 18 additions and 0 deletions

View File

@ -14,6 +14,8 @@ use serde::{Deserialize, Serialize};
#[cfg(feature = "std")]
pub mod dest;
#[cfg(feature = "std")]
pub mod source;
pub mod user;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]

View File

@ -0,0 +1,16 @@
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 {
}