pub struct EchoDiscardPacketBuilder { /* private fields */ }
Expand description
Builder for an echo-discard packet.
Implementations§
Trait Implementations§
Source§impl PacketBuilder for EchoDiscardPacketBuilder
impl PacketBuilder for EchoDiscardPacketBuilder
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 EchoDiscardPacketBuilder
impl RefUnwindSafe for EchoDiscardPacketBuilder
impl Send for EchoDiscardPacketBuilder
impl Sync for EchoDiscardPacketBuilder
impl Unpin for EchoDiscardPacketBuilder
impl UnwindSafe for EchoDiscardPacketBuilder
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