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
sourceimpl<C: Debug + ChannelTypes> Debug for ClientStreamingItemError<C>where
C::RecvError: Debug,
impl<C: Debug + ChannelTypes> Debug for ClientStreamingItemError<C>where
C::RecvError: Debug,
sourceimpl<C: ChannelTypes> Display for ClientStreamingItemError<C>
impl<C: ChannelTypes> Display for ClientStreamingItemError<C>
sourceimpl<C: ChannelTypes> Error for ClientStreamingItemError<C>
impl<C: ChannelTypes> Error for ClientStreamingItemError<C>
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl<C> RefUnwindSafe for ClientStreamingItemError<C>where
<C as ChannelTypes>::RecvError: RefUnwindSafe,
impl<C> Send for ClientStreamingItemError<C>
impl<C> Sync for ClientStreamingItemError<C>
impl<C> Unpin for ClientStreamingItemError<C>
impl<C> UnwindSafe for ClientStreamingItemError<C>where
<C as ChannelTypes>::RecvError: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more