pub enum Error<E: ErrorType<Error: Copy>> {
InternalError,
Bounded,
Reader(E::Error),
ReadExact(ReadExactError<E::Error>),
}
Expand description
An error from an adapter.
Variants§
InternalError
An internal error occurred.
Bounded
The adapter was bounded and the bound has been reached.
Reader(E::Error)
The underlying reader raised an error.
ReadExact(ReadExactError<E::Error>)
read_exact
raised an error.
Trait Implementations§
impl<E: ErrorType<Error: Copy>> Copy for Error<E>
Auto Trait Implementations§
impl<E> Freeze for Error<E>
impl<E> RefUnwindSafe for Error<E>
impl<E> Send for Error<E>
impl<E> Sync for Error<E>
impl<E> Unpin for Error<E>
impl<E> UnwindSafe for Error<E>
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