pub enum Outcome {
Done,
Ask(Ask),
Front(FrontOp),
}Expand description
What came of running a function.
Variants§
Done
The session did it. Whatever there was to say went out as a
Notice; whatever the front end
must do next is waiting in Session::take_request.
Ask(Ask)
It cannot finish without an answer. The front end collects one
however it likes and hands it back to Session::answer.
Front(FrontOp)
Only the front end can do this one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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