pub enum TracerouteProtocol {
ICMP,
UDP,
TCP,
}Expand description
-I ICMP echo, -T TCP SYN, otherwise UDP (do_udp= !(do_icmp || do_tcp), traceroute.c:4281).
Variants§
Trait Implementations§
Source§impl Clone for TracerouteProtocol
impl Clone for TracerouteProtocol
Source§fn clone(&self) -> TracerouteProtocol
fn clone(&self) -> TracerouteProtocol
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 TracerouteProtocol
impl Debug for TracerouteProtocol
Source§impl Default for TracerouteProtocol
impl Default for TracerouteProtocol
Source§fn default() -> TracerouteProtocol
fn default() -> TracerouteProtocol
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TracerouteProtocol
impl<'de> Deserialize<'de> for TracerouteProtocol
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 Hash for TracerouteProtocol
impl Hash for TracerouteProtocol
Source§impl PartialEq for TracerouteProtocol
impl PartialEq for TracerouteProtocol
Source§impl Serialize for TracerouteProtocol
impl Serialize for TracerouteProtocol
impl Copy for TracerouteProtocol
impl Eq for TracerouteProtocol
impl StructuralPartialEq for TracerouteProtocol
Auto Trait Implementations§
impl Freeze for TracerouteProtocol
impl RefUnwindSafe for TracerouteProtocol
impl Send for TracerouteProtocol
impl Sync for TracerouteProtocol
impl Unpin for TracerouteProtocol
impl UnwindSafe for TracerouteProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.