pub struct BufferTooSmall {
pub size: usize,
pub expected: usize,
}
Expand description
Error returned if the supplied buffer is too small.
Fields§
§size: usize
§expected: usize
Trait Implementations§
Source§impl Clone for BufferTooSmall
impl Clone for BufferTooSmall
Source§fn clone(&self) -> BufferTooSmall
fn clone(&self) -> BufferTooSmall
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BufferTooSmall
impl Debug for BufferTooSmall
Auto Trait Implementations§
impl Freeze for BufferTooSmall
impl RefUnwindSafe for BufferTooSmall
impl Send for BufferTooSmall
impl Sync for BufferTooSmall
impl Unpin for BufferTooSmall
impl UnwindSafe for BufferTooSmall
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