pub enum L4Protocol {
Unknown,
Tcp,
Udp,
}
Expand description
The “L4” protocol: the TCP/UDP layer.
Variants§
Trait Implementations§
Source§impl Clone for L4Protocol
impl Clone for L4Protocol
Source§fn clone(&self) -> L4Protocol
fn clone(&self) -> L4Protocol
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 L4Protocol
impl Debug for L4Protocol
Source§impl PartialEq for L4Protocol
impl PartialEq for L4Protocol
impl Copy for L4Protocol
impl Eq for L4Protocol
impl StructuralPartialEq for L4Protocol
Auto Trait Implementations§
impl Freeze for L4Protocol
impl RefUnwindSafe for L4Protocol
impl Send for L4Protocol
impl Sync for L4Protocol
impl Unpin for L4Protocol
impl UnwindSafe for L4Protocol
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