pub enum Ipv4Option {
Show 27 variants
EndOfOptionsList,
NoOperation,
Security,
LooseSourceRoute,
TimeStamp,
ExtendedSecurity,
CommercialSecurity,
RecordRoute,
StreamId,
StrictSourceRoute,
ExperimentalMeasurement,
MtuProbe,
MtuReply,
ExperimentalFlowControl,
ExperimentalAccessControl,
Encode,
ImiTrafficDescriptor,
ExtendedInternetProtocol,
Traceroute,
AddressExtension,
RouterAlert,
SelectiveDirectedBroadcast,
DynamicPacketState,
UpstreamMulticastPacket,
QuickStart,
Rfc3692StyleExperiment,
Unknown(u8),
}
Expand description
Represents the IPv4 options.
Variants§
EndOfOptionsList
NoOperation
Security
LooseSourceRoute
TimeStamp
ExtendedSecurity
CommercialSecurity
RecordRoute
StreamId
StrictSourceRoute
ExperimentalMeasurement
MtuProbe
MtuReply
ExperimentalFlowControl
ExperimentalAccessControl
Encode
ImiTrafficDescriptor
ExtendedInternetProtocol
Traceroute
AddressExtension
RouterAlert
SelectiveDirectedBroadcast
DynamicPacketState
UpstreamMulticastPacket
QuickStart
Rfc3692StyleExperiment
Unknown(u8)
Implementations§
Source§impl Ipv4Option
impl Ipv4Option
Trait Implementations§
Source§impl Clone for Ipv4Option
impl Clone for Ipv4Option
Source§fn clone(&self) -> Ipv4Option
fn clone(&self) -> Ipv4Option
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 Ipv4Option
impl Debug for Ipv4Option
Source§impl PartialEq for Ipv4Option
impl PartialEq for Ipv4Option
impl StructuralPartialEq for Ipv4Option
Auto Trait Implementations§
impl Freeze for Ipv4Option
impl RefUnwindSafe for Ipv4Option
impl Send for Ipv4Option
impl Sync for Ipv4Option
impl Unpin for Ipv4Option
impl UnwindSafe for Ipv4Option
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