Enum quic_rpc::client::ClientStreamingError
source · pub enum ClientStreamingError<C: ChannelTypes> {
Open(C::OpenBiError),
Send(C::SendError),
}Expand description
Server error when accepting a client streaming request
Variants
Open(C::OpenBiError)
Unable to open a stream to the server
Send(C::SendError)
Unable to send the request to the server
Trait Implementations
sourceimpl<C: Debug + ChannelTypes> Debug for ClientStreamingError<C>where
C::OpenBiError: Debug,
C::SendError: Debug,
impl<C: Debug + ChannelTypes> Debug for ClientStreamingError<C>where
C::OpenBiError: Debug,
C::SendError: Debug,
sourceimpl<C: ChannelTypes> Display for ClientStreamingError<C>
impl<C: ChannelTypes> Display for ClientStreamingError<C>
sourceimpl<C: ChannelTypes> Error for ClientStreamingError<C>
impl<C: ChannelTypes> Error for ClientStreamingError<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 ClientStreamingError<C>where
<C as ChannelTypes>::OpenBiError: RefUnwindSafe,
<C as ChannelTypes>::SendError: RefUnwindSafe,
impl<C> Send for ClientStreamingError<C>
impl<C> Sync for ClientStreamingError<C>
impl<C> Unpin for ClientStreamingError<C>
impl<C> UnwindSafe for ClientStreamingError<C>where
<C as ChannelTypes>::OpenBiError: UnwindSafe,
<C as ChannelTypes>::SendError: 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