pub enum ControlRequest {
ServerStats,
Clients {
limit: usize,
},
NtsData,
Tracking,
Ping,
}Expand description
A request on the control socket. One variant per op (mission plan §5): the CLI, a test and an agent are all just clients of these.
Variants§
ServerStats
status.serverstats
Clients
debug.clients
NtsData
status.ntsdata — key ids only, never key material.
Tracking
status.tracking — the client discipline loop’s current estimate:
how far off this clock believes it is, how well it knows that, and
whether it is synchronized at all.
Answered by rtimed sync; a rtimed serve daemon has no discipline
loop and reports that rather than inventing a number.
Ping
Liveness.
Trait Implementations§
Source§impl Clone for ControlRequest
impl Clone for ControlRequest
Source§impl Debug for ControlRequest
impl Debug for ControlRequest
Source§impl<'de> Deserialize<'de> for ControlRequest
impl<'de> Deserialize<'de> for ControlRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ControlRequest
impl PartialEq for ControlRequest
Source§impl Serialize for ControlRequest
impl Serialize for ControlRequest
impl StructuralPartialEq for ControlRequest
Auto Trait Implementations§
impl Freeze for ControlRequest
impl RefUnwindSafe for ControlRequest
impl Send for ControlRequest
impl Sync for ControlRequest
impl Unpin for ControlRequest
impl UnsafeUnpin for ControlRequest
impl UnwindSafe for ControlRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more