pub enum TelnetCommand {
Ping(PingSpec),
Traceroute(TracerouteSpec),
Dns(DnsSpec),
Http(HttpSpec),
Tls(TlsSpec),
Ntp(NtpSpec),
HostTelemetry(HostTelemetrySpec),
Status,
Stop(u64),
Ignored(String),
Unknown(String),
}Expand description
Telnet command received from controller
Variants§
Ping(PingSpec)
Ping measurement
Traceroute(TracerouteSpec)
Traceroute measurement
Dns(DnsSpec)
DNS measurement
Http(HttpSpec)
HTTP measurement
Tls(TlsSpec)
TLS/SSL measurement
Ntp(NtpSpec)
NTP measurement
HostTelemetry(HostTelemetrySpec)
Schedule a host-telemetry report (buddyinfo / rptaddrs). Not a measurement — produces a synthesized RESULT line each interval.
Status
Status query
Stop(u64)
Stop a running measurement
Ignored(String)
Ignored command (known but not handled, e.g., CRONTAB, internal commands)
Unknown(String)
Unknown command
Trait Implementations§
Source§impl Clone for TelnetCommand
impl Clone for TelnetCommand
Source§fn clone(&self) -> TelnetCommand
fn clone(&self) -> TelnetCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelnetCommand
impl Debug for TelnetCommand
Source§impl<'de> Deserialize<'de> for TelnetCommand
impl<'de> Deserialize<'de> for TelnetCommand
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
Auto Trait Implementations§
impl Freeze for TelnetCommand
impl RefUnwindSafe for TelnetCommand
impl Send for TelnetCommand
impl Sync for TelnetCommand
impl Unpin for TelnetCommand
impl UnsafeUnpin for TelnetCommand
impl UnwindSafe for TelnetCommand
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