pub enum ItemError<S: ConnectionErrors> {
RecvError(S::RecvError),
DowncastError,
}
Expand description
Client error when handling responses from a server streaming request
Variants§
RecvError(S::RecvError)
Unable to receive the response from the server
DowncastError
Unexpected response from the server
Trait Implementations§
Source§impl<S: ConnectionErrors> Display for ItemError<S>
impl<S: ConnectionErrors> Display for ItemError<S>
Source§impl<S: ConnectionErrors> Error for ItemError<S>
impl<S: ConnectionErrors> Error for ItemError<S>
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<S> Freeze for ItemError<S>
impl<S> RefUnwindSafe for ItemError<S>
impl<S> Send for ItemError<S>
impl<S> Sync for ItemError<S>
impl<S> Unpin for ItemError<S>
impl<S> UnwindSafe for ItemError<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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