pub enum Frame<B: ByteSlice> {
Key(KeyFrameRx<B>),
Unsupported(Ref<B, EapolFields>),
}
Variants§
Key(KeyFrameRx<B>)
Unsupported(Ref<B, EapolFields>)
Implementations§
source§impl<B: ByteSlice> Frame<B>
impl<B: ByteSlice> Frame<B>
pub fn parse_fixed_fields(bytes: B) -> Result<Ref<B, EapolFields>, Error>
Auto Trait Implementations§
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