wlan_hw_sim::event::buffered

Trait Parse

Source
pub trait Parse {
    type Output<B>
       where B: SplitByteSlice;

    // Required method
    fn parse<B>(bytes: B) -> Option<Self::Output<B>>
       where B: SplitByteSlice;
}

Required Associated Types§

Source

type Output<B> where B: SplitByteSlice

Required Methods§

Source

fn parse<B>(bytes: B) -> Option<Self::Output<B>>
where B: SplitByteSlice,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Parse for AssocReqFrame

Source§

type Output<B> = AssocReqFrame<B> where B: SplitByteSlice

Source§

impl Parse for AssocRespFrame

Source§

type Output<B> = AssocRespFrame<B> where B: SplitByteSlice

Source§

impl Parse for AuthFrame

Source§

type Output<B> = AuthFrame<B> where B: SplitByteSlice

Source§

impl Parse for DataFrame

Source§

type Output<B> = DataFrame<B> where B: SplitByteSlice

Source§

impl Parse for MacFrame

Source§

type Output<B> = MacFrame<B> where B: SplitByteSlice

Source§

impl Parse for MgmtFrame

Source§

type Output<B> = MgmtFrame<B> where B: SplitByteSlice

Source§

impl Parse for ProbeReqFrame

Source§

type Output<B> = ProbeReqFrame<B> where B: SplitByteSlice

Source§

impl<T> Parse for Supported<T>
where T: Parse + TaggedField,

Source§

type Output<B> = <T as Parse>::Output<B> where B: SplitByteSlice

Source§

impl<T> Parse for Unsupported<T>
where T: Parse + TaggedField,

Source§

type Output<B> = <T as Parse>::Output<B> where B: SplitByteSlice

Source§

impl<const NO_ACK: bool> Parse for ActionFrame<NO_ACK>

Source§

type Output<B> = NoAck<NO_ACK, ActionBody<B>> where B: SplitByteSlice