pub enum UploadReadError<E> {
Database(DbError),
Consumer(E),
}Expand description
A queue read failed in the database or in its consumer.
Variants§
Database(DbError)
Reading the committed queue state failed.
Consumer(E)
The consumer failed while reading or using the stream.
Trait Implementations§
Source§impl<E: CarriesBug> CarriesBug for UploadReadError<E>
Available on crate features test-utils only.
impl<E: CarriesBug> CarriesBug for UploadReadError<E>
Available on crate features
test-utils only.Source§impl<E: Debug> Debug for UploadReadError<E>
impl<E: Debug> Debug for UploadReadError<E>
Source§impl<E> Display for UploadReadError<E>where
E: Display,
impl<E> Display for UploadReadError<E>where
E: Display,
Source§impl<E> Error for UploadReadError<E>
impl<E> Error for UploadReadError<E>
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<E> Freeze for UploadReadError<E>where
E: Freeze,
impl<E> !RefUnwindSafe for UploadReadError<E>
impl<E> Send for UploadReadError<E>where
E: Send,
impl<E> Sync for UploadReadError<E>where
E: Sync,
impl<E> Unpin for UploadReadError<E>where
E: Unpin,
impl<E> UnsafeUnpin for UploadReadError<E>where
E: UnsafeUnpin,
impl<E> !UnwindSafe for UploadReadError<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