Skip to main content

deq_runtime/misc/
index.rs

1pub const WILDCARD: u64 = 0;
2pub const FUTURE_CHECK_CID: u64 = u64::MAX - 2;
3
4#[derive(Debug, Clone, PartialEq, Eq)]
5pub struct ErrorIndex {
6    pub eid: usize,
7    pub error_index: usize,
8}
9
10// let the coordinator keep the internal loaded library
11pub const KEEP_FLAG_LIBRARY: u64 = 1 << 0;
12// let the coordinator keep the loaded decoders; note that since decoders usually
13// depend on the library, keeping the decoders while not keeping the library may
14// lead to inconsistent result
15pub const KEEP_FLAG_DECODER: u64 = 1 << 1;
16// keep everything possible
17pub const KEEP_FLAG_EVERYTHING: u64 = !0;