pub enum ReadToError {
ReadError(ReadError),
BadBuffer(u64),
}
Expand description
Error, that happened when reader can’t read data to client’s buffer.
Variants§
Trait Implementations§
Source§impl Debug for ReadToError
impl Debug for ReadToError
Source§impl Display for ReadToError
impl Display for ReadToError
Source§impl Error for ReadToError
impl Error for ReadToError
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<Error> for ReadToError
impl From<Error> for ReadToError
Auto Trait Implementations§
impl Freeze for ReadToError
impl !RefUnwindSafe for ReadToError
impl Send for ReadToError
impl Sync for ReadToError
impl Unpin for ReadToError
impl !UnwindSafe for ReadToError
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