pub enum Layer4Protocol {
Tcp,
Udp,
}Expand description
Layer-4 protocol supported for range expressions.
Variants§
Trait Implementations§
Source§impl Clone for Layer4Protocol
impl Clone for Layer4Protocol
Source§fn clone(&self) -> Layer4Protocol
fn clone(&self) -> Layer4Protocol
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 Layer4Protocol
impl Debug for Layer4Protocol
Source§impl Display for Layer4Protocol
impl Display for Layer4Protocol
Source§impl Hash for Layer4Protocol
impl Hash for Layer4Protocol
Source§impl Ord for Layer4Protocol
impl Ord for Layer4Protocol
Source§fn cmp(&self, other: &Layer4Protocol) -> Ordering
fn cmp(&self, other: &Layer4Protocol) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Layer4Protocol
impl PartialEq for Layer4Protocol
Source§impl PartialOrd for Layer4Protocol
impl PartialOrd for Layer4Protocol
impl Copy for Layer4Protocol
impl Eq for Layer4Protocol
impl StructuralPartialEq for Layer4Protocol
Auto Trait Implementations§
impl Freeze for Layer4Protocol
impl RefUnwindSafe for Layer4Protocol
impl Send for Layer4Protocol
impl Sync for Layer4Protocol
impl Unpin for Layer4Protocol
impl UnwindSafe for Layer4Protocol
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