pub enum DataLink {
Ethernet,
RawIP,
}Expand description
Data link type associated with packets processed by the firewall.
If not specified, Ethernet will be used.
Variants§
Ethernet
Suitable for packets starting with an Ethernet header.
RawIP
Suitable for packets starting with an IPv4 or IPv6 header.
Trait Implementations§
impl Copy for DataLink
impl StructuralPartialEq for DataLink
Auto Trait Implementations§
impl Freeze for DataLink
impl RefUnwindSafe for DataLink
impl Send for DataLink
impl Sync for DataLink
impl Unpin for DataLink
impl UnwindSafe for DataLink
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