pub struct DataPacketBuilder { /* private fields */ }Expand description
Implements PacketBuilder for a data request.
Implementations§
Trait Implementations§
Source§impl Debug for DataPacketBuilder
impl Debug for DataPacketBuilder
Source§impl PacketBuilder for DataPacketBuilder
impl PacketBuilder for DataPacketBuilder
Source§fn constraints(&self) -> PacketConstraints
fn constraints(&self) -> PacketConstraints
Gets the constraints for this
PacketBuilder.Source§fn serialize(
&self,
target: &mut SerializeTarget<'_>,
_body: FragmentedBytesMut<'_, '_>,
)
fn serialize( &self, target: &mut SerializeTarget<'_>, _body: FragmentedBytesMut<'_, '_>, )
Serializes this packet into an existing buffer. Read more
Auto Trait Implementations§
impl Freeze for DataPacketBuilder
impl RefUnwindSafe for DataPacketBuilder
impl Send for DataPacketBuilder
impl Sync for DataPacketBuilder
impl Unpin for DataPacketBuilder
impl UnwindSafe for DataPacketBuilder
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