Enum quic_rpc::client::ClientStreamingItemError
source · pub enum ClientStreamingItemError<C: ChannelTypes> {
EarlyClose,
RecvError(C::RecvError),
DowncastError,
}
Expand description
Server error when receiving an item for a client streaming request
Variants§
EarlyClose
Connection was closed before receiving the first message
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 ClientStreamingItemError<C>where
C::RecvError: Debug,
impl<C: Debug + ChannelTypes> Debug for ClientStreamingItemError<C>where
C::RecvError: Debug,
source§impl<C: ChannelTypes> Display for ClientStreamingItemError<C>
impl<C: ChannelTypes> Display for ClientStreamingItemError<C>
source§impl<C: ChannelTypes> Error for ClientStreamingItemError<C>
impl<C: ChannelTypes> Error for ClientStreamingItemError<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()