pub struct BufferTooShortError;
Expand description
The error returned when a buffer is too short to hold a serialized packet,
and the BufferProvider
is incapable of allocating a new one.
BufferTooShortError
is returned by the Serializer
methods
serialize_no_alloc
and serialize_no_alloc_outer
.
Trait Implementations§
Source§impl Clone for BufferTooShortError
impl Clone for BufferTooShortError
Source§fn clone(&self) -> BufferTooShortError
fn clone(&self) -> BufferTooShortError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BufferTooShortError
impl Debug for BufferTooShortError
Source§impl PartialEq for BufferTooShortError
impl PartialEq for BufferTooShortError
impl Copy for BufferTooShortError
impl Eq for BufferTooShortError
impl StructuralPartialEq for BufferTooShortError
Auto Trait Implementations§
impl Freeze for BufferTooShortError
impl RefUnwindSafe for BufferTooShortError
impl Send for BufferTooShortError
impl Sync for BufferTooShortError
impl Unpin for BufferTooShortError
impl UnwindSafe for BufferTooShortError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)