pub enum StreamingResponseItemError<C: ChannelTypes> {
RecvError(C::RecvError),
DowncastError,
}
Expand description
Client error when handling responses from a server streaming request
Variants§
RecvError(C::RecvError)
Unable to receive the response from the server
DowncastError
Unexpected response from the server
Trait Implementations§
source§impl<C: Debug + ChannelTypes> Debug for StreamingResponseItemError<C>where
C::RecvError: Debug,
impl<C: Debug + ChannelTypes> Debug for StreamingResponseItemError<C>where
C::RecvError: Debug,
source§impl<C: ChannelTypes> Display for StreamingResponseItemError<C>
impl<C: ChannelTypes> Display for StreamingResponseItemError<C>
source§impl<C: ChannelTypes> Error for StreamingResponseItemError<C>
impl<C: ChannelTypes> Error for StreamingResponseItemError<C>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()