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