pub enum ReaderError {
Eof,
}Expand description
The error returned by IO read calls to a Reader.
Variants§
Eof
The reader has reached EOF.
Trait Implementations§
Source§impl Clone for ReaderError
impl Clone for ReaderError
Source§fn clone(&self) -> ReaderError
fn clone(&self) -> ReaderError
Returns a duplicate 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 ReaderError
impl Debug for ReaderError
Source§impl IoError for ReaderError
impl IoError for ReaderError
Source§fn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Checks whether the given error indicates that the operation should be retried.
Source§impl ReadError for ReaderError
impl ReadError for ReaderError
Source§fn eof() -> ReaderError
fn eof() -> ReaderError
Create a new End-Of-File error.
impl Copy for ReaderError
Auto Trait Implementations§
impl Freeze for ReaderError
impl RefUnwindSafe for ReaderError
impl Send for ReaderError
impl Sync for ReaderError
impl Unpin for ReaderError
impl UnwindSafe for ReaderError
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