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