pub enum Layer2<'a> {
Ethernet(Ethernet<'a>),
}
Expand description
Layer2 types that can be parsed
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Layer2<'a>
impl<'a> RefUnwindSafe for Layer2<'a>
impl<'a> Send for Layer2<'a>
impl<'a> Sync for Layer2<'a>
impl<'a> Unpin for Layer2<'a>
impl<'a> UnwindSafe for Layer2<'a>
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