#[repr(C, packed(1))]pub union DataLinkLayerFilterUnion {
pub eth_8023_filter: Eth8023Filter,
}Expand description
A Rust union that holds an Eth8023Filter.
This union can be extended to include other data link layer filters if needed.
Currently, it only contains an Eth8023Filter for filtering Ethernet/802.3 packets.
Fields§
§eth_8023_filter: Eth8023FilterTrait Implementations§
Source§impl Clone for DataLinkLayerFilterUnion
impl Clone for DataLinkLayerFilterUnion
Source§fn clone(&self) -> DataLinkLayerFilterUnion
fn clone(&self) -> DataLinkLayerFilterUnion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DataLinkLayerFilterUnion
impl Default for DataLinkLayerFilterUnion
impl Copy for DataLinkLayerFilterUnion
Auto Trait Implementations§
impl Freeze for DataLinkLayerFilterUnion
impl RefUnwindSafe for DataLinkLayerFilterUnion
impl Send for DataLinkLayerFilterUnion
impl Sync for DataLinkLayerFilterUnion
impl Unpin for DataLinkLayerFilterUnion
impl UnwindSafe for DataLinkLayerFilterUnion
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)