Skip to main content

sark_core/manifold/server/
timing.rs

1//! Static application deadline topology.
2
3/// Application with no deadline state or clock work.
4#[derive(Clone, Copy, Default)]
5pub struct Off;
6
7/// Application with connection-local deadline state.
8#[derive(Clone, Copy, Default)]
9pub struct On;
10
11const _: () = assert!(core::mem::size_of::<Off>() == 0);
12const _: () = assert!(core::mem::size_of::<On>() == 0);