pub struct EndOfInput;
Expand description
Error indicating that the end of the input was reached and not enough bytes were read
Trait Implementations§
Source§impl Debug for EndOfInput
impl Debug for EndOfInput
Source§impl Display for EndOfInput
impl Display for EndOfInput
Source§impl Error for EndOfInput
impl Error for EndOfInput
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()
Auto Trait Implementations§
impl Freeze for EndOfInput
impl RefUnwindSafe for EndOfInput
impl Send for EndOfInput
impl Sync for EndOfInput
impl Unpin for EndOfInput
impl UnwindSafe for EndOfInput
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