pub enum Step {
CallModel(Box<CallModel>),
Done(Box<RoutingOutcome>),
}Expand description
One item in the stream returned by Algorithm::run_stream.
Variants§
CallModel(Box<CallModel>)
The algorithm needs this model call performed. The host serves it and fulfills
it with CallModel::respond. Boxed: it is by far the largest variant.
Done(Box<RoutingOutcome>)
The algorithm finished with its routing outcome — the last step of a run.
Auto Trait Implementations§
impl !RefUnwindSafe for Step
impl !Sync for Step
impl !UnwindSafe for Step
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl Send for Step
impl Unpin for Step
impl UnsafeUnpin for Step
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