pub enum CtrlBody<B: SplitByteSlice> {
    PsPoll {
        ps_poll: Ref<B, PsPoll>,
    },
    Unsupported {
        subtype: CtrlSubtype,
    },
}Variants§
Implementations§
Source§impl<B: SplitByteSlice> CtrlBody<B>
 
impl<B: SplitByteSlice> CtrlBody<B>
pub fn parse(subtype: CtrlSubtype, bytes: B) -> Option<Self>
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for CtrlBody<B>where
    B: Freeze,
impl<B> RefUnwindSafe for CtrlBody<B>where
    B: RefUnwindSafe,
impl<B> Send for CtrlBody<B>where
    B: Send,
impl<B> Sync for CtrlBody<B>where
    B: Sync,
impl<B> Unpin for CtrlBody<B>where
    B: Unpin,
impl<B> UnwindSafe for CtrlBody<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