pub struct CtrlFrame<B> {
    pub frame_ctrl: FrameControl,
    pub body: B,
}Fields§
§frame_ctrl: FrameControl§body: BImplementations§
Source§impl<B> CtrlFrame<B>where
    B: SplitByteSlice,
 
impl<B> CtrlFrame<B>where
    B: SplitByteSlice,
pub fn parse(reader: impl IntoBufferReader<B>) -> Option<Self>
pub fn try_into_ctrl_body(self) -> Option<CtrlBody<B>>
pub fn ctrl_body(&self) -> Option<CtrlBody<&B::Target>>
pub fn frame_ctrl(&self) -> FrameControl
pub fn ctrl_subtype(&self) -> CtrlSubtype
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for CtrlFrame<B>where
    B: Freeze,
impl<B> RefUnwindSafe for CtrlFrame<B>where
    B: RefUnwindSafe,
impl<B> Send for CtrlFrame<B>where
    B: Send,
impl<B> Sync for CtrlFrame<B>where
    B: Sync,
impl<B> Unpin for CtrlFrame<B>where
    B: Unpin,
impl<B> UnwindSafe for CtrlFrame<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