pub struct ConfigurationPacket<B> { /* private fields */ }
Expand description
Wrapper around a parsed on-the-wire configuration packet header and the rest of the packet.
Trait Implementations§
Source§impl<B: SplitByteSlice> ParsablePacket<B, ()> for ConfigurationPacket<B>
impl<B: SplitByteSlice> ParsablePacket<B, ()> for ConfigurationPacket<B>
Source§fn parse_metadata(&self) -> ParseMetadata
fn parse_metadata(&self) -> ParseMetadata
Gets metadata about this packet required by
GrowBuffer::undo_parse
. Read moreSource§fn parse<BV: BufferView<B>>(buffer: BV, _args: ()) -> Result<Self, Self::Error>
fn parse<BV: BufferView<B>>(buffer: BV, _args: ()) -> Result<Self, Self::Error>
Parses a packet from a buffer. Read more
Source§fn parse_mut<BV>(buffer: BV, args: ParseArgs) -> Result<Self, Self::Error>where
BV: BufferViewMut<B>,
B: SplitByteSliceMut,
fn parse_mut<BV>(buffer: BV, args: ParseArgs) -> Result<Self, Self::Error>where
BV: BufferViewMut<B>,
B: SplitByteSliceMut,
Parses a packet from a mutable buffer. Read more
Auto Trait Implementations§
impl<B> Freeze for ConfigurationPacket<B>where
B: Freeze,
impl<B> RefUnwindSafe for ConfigurationPacket<B>where
B: RefUnwindSafe,
impl<B> Send for ConfigurationPacket<B>where
B: Send,
impl<B> Sync for ConfigurationPacket<B>where
B: Sync,
impl<B> Unpin for ConfigurationPacket<B>where
B: Unpin,
impl<B> UnwindSafe for ConfigurationPacket<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