pub enum BidiStreamingError<C>where
    C: ConnectionErrors,{
    Open(<C as ConnectionErrors>::OpenError),
    Send(<C as ConnectionErrors>::SendError),
}Expand description
Server error when accepting a bidi request
Variants§
Open(<C as ConnectionErrors>::OpenError)
Unable to open a substream at all
Send(<C as ConnectionErrors>::SendError)
Unable to send the request to the server
Trait Implementations§
source§impl<C> Debug for Error<C>where
    C: Debug + ConnectionErrors,
    <C as ConnectionErrors>::OpenError: Debug,
    <C as ConnectionErrors>::SendError: Debug,
 
impl<C> Debug for Error<C>where
    C: Debug + ConnectionErrors,
    <C as ConnectionErrors>::OpenError: Debug,
    <C as ConnectionErrors>::SendError: Debug,
source§impl<C> Display for Error<C>where
    C: ConnectionErrors,
 
impl<C> Display for Error<C>where
    C: ConnectionErrors,
source§impl<C> Error for Error<C>where
    C: ConnectionErrors,
 
impl<C> Error for Error<C>where
    C: ConnectionErrors,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl<C> Freeze for Error<C>
impl<C> RefUnwindSafe for Error<C>where
    <C as ConnectionErrors>::OpenError: RefUnwindSafe,
    <C as ConnectionErrors>::SendError: RefUnwindSafe,
impl<C> Send for Error<C>
impl<C> Sync for Error<C>
impl<C> Unpin for Error<C>
impl<C> UnwindSafe for Error<C>where
    <C as ConnectionErrors>::OpenError: UnwindSafe,
    <C as ConnectionErrors>::SendError: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more