pub enum SendRequestError<Req> {
Closed(Req),
Ignored,
}Expand description
Error returned when sending a request
Variants§
Closed(Req)
The Responder for this channel was dropped.
Returns ownership of the Req that failed to send
Ignored
The UnRespondedRequest for this request was dropped.
Trait Implementations§
Source§impl<Req> Debug for SendRequestError<Req>
impl<Req> Debug for SendRequestError<Req>
Source§impl<Req> Display for SendRequestError<Req>
impl<Req> Display for SendRequestError<Req>
Source§impl<Req> Error for SendRequestError<Req>
impl<Req> Error for SendRequestError<Req>
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<Req> Freeze for SendRequestError<Req>where
Req: Freeze,
impl<Req> RefUnwindSafe for SendRequestError<Req>where
Req: RefUnwindSafe,
impl<Req> Send for SendRequestError<Req>where
Req: Send,
impl<Req> Sync for SendRequestError<Req>where
Req: Sync,
impl<Req> Unpin for SendRequestError<Req>where
Req: Unpin,
impl<Req> UnwindSafe for SendRequestError<Req>where
Req: 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