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§
source§impl<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,
source§impl<C: ChannelTypes> Display for ClientStreamingError<C>
impl<C: ChannelTypes> Display for ClientStreamingError<C>
source§impl<C: ChannelTypes> Error for ClientStreamingError<C>
impl<C: ChannelTypes> Error for ClientStreamingError<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()