Enum etherparse::icmpv4::RedirectCode
source · pub enum RedirectCode {
RedirectForNetwork,
RedirectForHost,
RedirectForTypeOfServiceAndNetwork,
RedirectForTypeOfServiceAndHost,
}
Expand description
Code value in an ICMPv4 Redirect message.
Variants§
RedirectForNetwork
Redirect Datagram for the Network (or subnet)
RedirectForHost
Redirect Datagram for the Host
RedirectForTypeOfServiceAndNetwork
Redirect Datagram for the Type of Service and Network
RedirectForTypeOfServiceAndHost
Redirect datagrams for the Type of Service and Host
Implementations§
source§impl RedirectCode
impl RedirectCode
Trait Implementations§
source§impl Clone for RedirectCode
impl Clone for RedirectCode
source§fn clone(&self) -> RedirectCode
fn clone(&self) -> RedirectCode
Returns a copy 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 more