pub trait OkPacketKind {
    const HEADER: u8;

    // Required method
    fn parse_body<'de>(
        capabilities: CapabilityFlags,
        buf: &mut ParseBuf<'de>
    ) -> Result<OkPacketBody<'de>>;
}
Expand description

OK packet kind (see OK packet identifier section of WL#7766).

Required Associated Constants§

Required Methods§

source

fn parse_body<'de>( capabilities: CapabilityFlags, buf: &mut ParseBuf<'de> ) -> Result<OkPacketBody<'de>>

Object Safety§

This trait is not object safe.

Implementors§