pub enum RunError<Req> {
FailedToEnqueueReq(Req),
FailedToGetResponse,
}Variants§
FailedToEnqueueReq(Req)
The Socket failed to put the [Req] to be processed, this can be caused
when the socket is closed.
FailedToGetResponse
The Socket failed to wait for the response, this can be due to the worker
that is unexpectedly closed before processing a request.
Trait Implementations§
impl<Req: Copy> Copy for RunError<Req>
Auto Trait Implementations§
impl<Req> Freeze for RunError<Req>where
Req: Freeze,
impl<Req> RefUnwindSafe for RunError<Req>where
Req: RefUnwindSafe,
impl<Req> Send for RunError<Req>where
Req: Send,
impl<Req> Sync for RunError<Req>where
Req: Sync,
impl<Req> Unpin for RunError<Req>where
Req: Unpin,
impl<Req> UnwindSafe for RunError<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