pub struct RoutePlanExecutor<'a> { /* private fields */ }Implementations§
Source§impl<'a> RoutePlanExecutor<'a>
impl<'a> RoutePlanExecutor<'a>
pub fn new(template: &'a RoutePlanTemplate) -> Self
pub fn iter_candidates(&self) -> impl Iterator<Item = &RouteCandidate> + '_
pub fn template(&self) -> &'a RoutePlanTemplate
pub fn iter_selected_upstreams( &self, ) -> impl Iterator<Item = SelectedStationRouteCandidate<'_>> + '_
pub fn explain_candidate_skip_reasons_with_runtime_state( &self, runtime: &RoutePlanRuntimeState, request_model: Option<&str>, ) -> Vec<RouteCandidateSkipExplanation<'_>>
pub fn select_supported_candidate( &self, state: &mut RoutePlanAttemptState, request_model: Option<&str>, ) -> RoutePlanAttemptSelection<'_>
pub fn select_supported_candidate_with_runtime_state( &self, state: &mut RoutePlanAttemptState, runtime: &RoutePlanRuntimeState, request_model: Option<&str>, ) -> RoutePlanAttemptSelection<'_>
pub fn select_supported_station_candidate_with_runtime_state( &self, state: &mut RoutePlanAttemptState, runtime: &RoutePlanRuntimeState, station_name: &str, request_model: Option<&str>, ) -> RoutePlanStationAttemptSelection<'_>
pub fn legacy_selected_upstream_for_candidate( &self, candidate: &RouteCandidate, ) -> SelectedUpstream
Auto Trait Implementations§
impl<'a> Freeze for RoutePlanExecutor<'a>
impl<'a> RefUnwindSafe for RoutePlanExecutor<'a>
impl<'a> Send for RoutePlanExecutor<'a>
impl<'a> Sync for RoutePlanExecutor<'a>
impl<'a> Unpin for RoutePlanExecutor<'a>
impl<'a> UnsafeUnpin for RoutePlanExecutor<'a>
impl<'a> UnwindSafe for RoutePlanExecutor<'a>
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