pub enum ReqOutcome {
Reply(Message),
Aborted,
Timeout,
}Expand description
Outcome of an abortable request/reply (ServiceContext::request_with_reply_abortable): the reply
arrived, the user pressed q/Q/ESC to abort the wait, or the deadline expired with no reply.
Timeout also covers a request that never left (no such peer, no reply cap, a failed send).
Variants§
Auto Trait Implementations§
impl Freeze for ReqOutcome
impl RefUnwindSafe for ReqOutcome
impl Send for ReqOutcome
impl Sync for ReqOutcome
impl Unpin for ReqOutcome
impl UnsafeUnpin for ReqOutcome
impl UnwindSafe for ReqOutcome
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