pub struct OutputBufferTooSmall {
pub need: usize,
pub have: usize,
}Expand description
An output buffer was smaller than the serialized form requires.
Fields§
§need: usizeRequired size.
have: usizeActual size.
Trait Implementations§
Source§impl Clone for OutputBufferTooSmall
impl Clone for OutputBufferTooSmall
impl Copy for OutputBufferTooSmall
Source§impl Debug for OutputBufferTooSmall
impl Debug for OutputBufferTooSmall
Source§impl Display for OutputBufferTooSmall
impl Display for OutputBufferTooSmall
impl Eq for OutputBufferTooSmall
Source§impl Error for OutputBufferTooSmall
impl Error for OutputBufferTooSmall
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for OutputBufferTooSmall
impl PartialEq for OutputBufferTooSmall
impl StructuralPartialEq for OutputBufferTooSmall
Auto Trait Implementations§
impl Forget for OutputBufferTooSmall
impl Freeze for OutputBufferTooSmall
impl RefUnwindSafe for OutputBufferTooSmall
impl Send for OutputBufferTooSmall
impl Sync for OutputBufferTooSmall
impl Unpin for OutputBufferTooSmall
impl UnsafeUnpin for OutputBufferTooSmall
impl UnwindSafe for OutputBufferTooSmall
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