Make external codec boundaries explicit and exhaustive
This commit is contained in:
parent
76de24c75c
commit
d7de87fb8f
1 changed files with 319 additions and 25 deletions
|
|
@ -44,6 +44,14 @@ const MAX_RUNTIME_HANDOFF_BYTES: usize = 64 * 1024;
|
|||
const READINESS_TIMEOUT: Duration = Duration::from_secs(30);
|
||||
const TERMINATION_GRACE: Duration = Duration::from_secs(2);
|
||||
|
||||
pub const RUNTIME_SUPERVISOR_SERIALIZED_RECORD_TYPE_NAMES: &[&str] = &[
|
||||
"RuntimeSupervisorHandoff",
|
||||
"NetworkProbeRequest",
|
||||
"AttachedRunscSignal",
|
||||
"SupervisorEvent",
|
||||
"CoordinatorMessage",
|
||||
];
|
||||
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)]
|
||||
pub enum AttachedRunscSignal {
|
||||
Stop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue