pub enum ServerStreamingItemError<S>where
S: ConnectionErrors,{
RecvError(<S as ConnectionErrors>::RecvError),
DowncastError,
}Expand description
Client error when handling responses from a server streaming request
Variants§
RecvError(<S as ConnectionErrors>::RecvError)
Unable to receive the response from the server
DowncastError
Unexpected response from the server
Trait Implementations§
source§impl<S> Display for ItemError<S>where
S: ConnectionErrors,
impl<S> Display for ItemError<S>where
S: ConnectionErrors,
source§impl<S> Error for ItemError<S>where
S: ConnectionErrors,
impl<S> Error for ItemError<S>where
S: ConnectionErrors,
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<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