16 lines
484 B
Rust
16 lines
484 B
Rust
use crate::action::ActionRequest;
|
|
use satrs_core::hk::HkRequest;
|
|
use satrs_core::mode::ModeRequest;
|
|
use satrs_core::pus::verification::{TcStateAccepted, VerificationToken};
|
|
|
|
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
|
|
#[non_exhaustive]
|
|
pub enum Request {
|
|
HkRequest(HkRequest),
|
|
ModeRequest(ModeRequest),
|
|
ActionRequest(ActionRequest),
|
|
}
|
|
|
|
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
|
|
pub struct RequestWithToken(pub Request, pub Option<VerificationToken<TcStateAccepted>>);
|