pub struct ErrorPacketBuilder<'a> { /* private fields */ }
Expand description
Implements [InnerPacketBuilder
] for error messages.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for ErrorPacketBuilder<'a>
impl<'a> Debug for ErrorPacketBuilder<'a>
Source§impl<'a> InnerPacketBuilder for ErrorPacketBuilder<'a>
impl<'a> InnerPacketBuilder for ErrorPacketBuilder<'a>
Source§fn serialize(&self, buffer: &mut [u8])
fn serialize(&self, buffer: &mut [u8])
Serializes this packet into an existing buffer. Read more
§fn into_serializer(self) -> InnerSerializer<Self, EmptyBuf>where
Self: Sized,
fn into_serializer(self) -> InnerSerializer<Self, EmptyBuf>where
Self: Sized,
§fn into_serializer_with<B>(self, buffer: B) -> InnerSerializer<Self, B>where
B: ShrinkBuffer,
Self: Sized,
fn into_serializer_with<B>(self, buffer: B) -> InnerSerializer<Self, B>where
B: ShrinkBuffer,
Self: Sized,
Converts this
InnerPacketBuilder
into a [Serializer
] with a buffer
that can be used for serialization. Read moreAuto Trait Implementations§
impl<'a> Freeze for ErrorPacketBuilder<'a>
impl<'a> RefUnwindSafe for ErrorPacketBuilder<'a>
impl<'a> Send for ErrorPacketBuilder<'a>
impl<'a> Sync for ErrorPacketBuilder<'a>
impl<'a> Unpin for ErrorPacketBuilder<'a>
impl<'a> UnwindSafe for ErrorPacketBuilder<'a>
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