pub enum ProbeStrategy {
LanIp,
IcmpOnly,
UnspecifiedTcp,
SpecificPort,
HttpUrl,
}Expand description
Which probes to run for a given target shape. The strategy is a function of the target: LAN IP gets ARP+ping; bare hostname gets DNS+TCP:443; a URL adds TLS+HTTP on top.
Variants§
Trait Implementations§
Source§impl Clone for ProbeStrategy
impl Clone for ProbeStrategy
Source§fn clone(&self) -> ProbeStrategy
fn clone(&self) -> ProbeStrategy
Returns a duplicate of the value. Read more
1.0.0 · 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 ProbeStrategy
impl Debug for ProbeStrategy
Source§impl<'de> Deserialize<'de> for ProbeStrategy
impl<'de> Deserialize<'de> for ProbeStrategy
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 ProbeStrategy
impl PartialEq for ProbeStrategy
Source§impl Serialize for ProbeStrategy
impl Serialize for ProbeStrategy
impl Copy for ProbeStrategy
impl Eq for ProbeStrategy
impl StructuralPartialEq for ProbeStrategy
Auto Trait Implementations§
impl Freeze for ProbeStrategy
impl RefUnwindSafe for ProbeStrategy
impl Send for ProbeStrategy
impl Sync for ProbeStrategy
impl Unpin for ProbeStrategy
impl UnsafeUnpin for ProbeStrategy
impl UnwindSafe for ProbeStrategy
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