try unifying some direct PUS handler code
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good

This commit is contained in:
2024-05-02 11:14:05 +02:00
parent 424dfc439c
commit 7e78e70a17
4 changed files with 153 additions and 66 deletions

View File

@ -524,6 +524,11 @@ pub fn generic_pus_request_timeout_handler(
Ok(())
}
pub trait DirectPusService {
const SERVICE_ID: u8;
const SERVICE_STR: &'static str;
}
#[cfg(test)]
pub(crate) mod tests {
use std::time::Duration;