pub enum Frame<B: SplitByteSlice> {
Key(KeyFrameRx<B>),
Unsupported(Ref<B, EapolFields>),
}
Variants§
Key(KeyFrameRx<B>)
Unsupported(Ref<B, EapolFields>)
Implementations§
Source§impl<B: SplitByteSlice> Frame<B>
impl<B: SplitByteSlice> Frame<B>
pub fn parse_fixed_fields(bytes: B) -> Result<Ref<B, EapolFields>, Error>
Auto Trait Implementations§
impl<B> Freeze for Frame<B>where
B: Freeze,
impl<B> RefUnwindSafe for Frame<B>where
B: RefUnwindSafe,
impl<B> Send for Frame<B>where
B: Send,
impl<B> Sync for Frame<B>where
B: Sync,
impl<B> Unpin for Frame<B>where
B: Unpin,
impl<B> UnwindSafe for Frame<B>where
B: 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