pub struct StripMpls<E>(pub E);Available on crate feature
extractors only.Expand description
Strip an MPLS label stack from an Ethernet frame and run the inner extractor on the inner IP datagram (synthesizing an Ethernet wrapper so L2-aware extractors keep working).
Tuple Fields§
§0: ETrait Implementations§
Source§impl<E: FlowExtractor> FlowExtractor for StripMpls<E>
impl<E: FlowExtractor> FlowExtractor for StripMpls<E>
impl<E: Copy> Copy for StripMpls<E>
Auto Trait Implementations§
impl<E> Freeze for StripMpls<E>where
E: Freeze,
impl<E> RefUnwindSafe for StripMpls<E>where
E: RefUnwindSafe,
impl<E> Send for StripMpls<E>where
E: Send,
impl<E> Sync for StripMpls<E>where
E: Sync,
impl<E> Unpin for StripMpls<E>where
E: Unpin,
impl<E> UnsafeUnpin for StripMpls<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for StripMpls<E>where
E: UnwindSafe,
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