Struct reachable::target::IcmpTarget
source ·
[−]pub struct IcmpTarget { /* fields omitted */ }
Expand description
Implementations
Construct an IcmpTarget.
Arguments
- fqhn: string containing “fully qualified domain name” e.g. “::1”, “localhost”.
- resolve_policy: the ResolvePolicy to use for this Target.
Returns
Instance of IcmpTarget.
Notes
For more convenience use the implementations of trait “From” and “FromStr”.
Set a new ResolvePolicy for name resolution.
Get a reference to the ResolvePolicy in use.
Trait Implementations
type Err = ParseTargetError
type Err = ParseTargetError
The associated error which can be returned from parsing.
Check if a Target is currently available. Read more