Enum rushmap_core::option::IpNextLevelProtocol
source · pub enum IpNextLevelProtocol {
TCP,
UDP,
ICMPv4,
ICMPv6,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for IpNextLevelProtocol
impl Clone for IpNextLevelProtocol
source§fn clone(&self) -> IpNextLevelProtocol
fn clone(&self) -> IpNextLevelProtocol
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 moresource§impl Debug for IpNextLevelProtocol
impl Debug for IpNextLevelProtocol
source§impl<'de> Deserialize<'de> for IpNextLevelProtocol
impl<'de> Deserialize<'de> for IpNextLevelProtocol
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 IpNextLevelProtocol
impl PartialEq for IpNextLevelProtocol
source§fn eq(&self, other: &IpNextLevelProtocol) -> bool
fn eq(&self, other: &IpNextLevelProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IpNextLevelProtocol
impl Serialize for IpNextLevelProtocol
impl Copy for IpNextLevelProtocol
impl StructuralPartialEq for IpNextLevelProtocol
Auto Trait Implementations§
impl RefUnwindSafe for IpNextLevelProtocol
impl Send for IpNextLevelProtocol
impl Sync for IpNextLevelProtocol
impl Unpin for IpNextLevelProtocol
impl UnwindSafe for IpNextLevelProtocol
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