Enum quic_rpc::client::BidiItemError
source · pub enum BidiItemError<C: ChannelTypes> {
RecvError(C::RecvError),
DowncastError,
}
Expand description
Server error when receiving an item for a bidi 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 BidiItemError<C>where
C::RecvError: Debug,
impl<C: Debug + ChannelTypes> Debug for BidiItemError<C>where
C::RecvError: Debug,
source§impl<C: ChannelTypes> Display for BidiItemError<C>
impl<C: ChannelTypes> Display for BidiItemError<C>
source§impl<C: ChannelTypes> Error for BidiItemError<C>
impl<C: ChannelTypes> Error for BidiItemError<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()