pub struct Incomplete {
pub needed: usize,
pub available: usize,
}Expand description
A read ran out of bytes: needed were required, only available present.
Fields§
§needed: usizeNumber of bytes the read required.
available: usizeNumber of bytes actually available.
Trait Implementations§
Source§impl Clone for Incomplete
impl Clone for Incomplete
Source§fn clone(&self) -> Incomplete
fn clone(&self) -> Incomplete
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Incomplete
Source§impl Debug for Incomplete
impl Debug for Incomplete
Source§impl Display for Incomplete
impl Display for Incomplete
impl Eq for Incomplete
Source§impl Error for Incomplete
impl Error for Incomplete
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 From<Incomplete> for ReadUintError
impl From<Incomplete> for ReadUintError
Source§fn from(e: Incomplete) -> Self
fn from(e: Incomplete) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Incomplete
impl PartialEq for Incomplete
impl StructuralPartialEq for Incomplete
Auto Trait Implementations§
impl Freeze for Incomplete
impl RefUnwindSafe for Incomplete
impl Send for Incomplete
impl Sync for Incomplete
impl Unpin for Incomplete
impl UnsafeUnpin for Incomplete
impl UnwindSafe for Incomplete
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