pub struct ReplanConfig {
pub max_replans: u32,
pub delay_ms: u64,
pub verify_before_execute: bool,
}Expand description
Configuration for the replan loop.
Fields§
§max_replans: u32Maximum number of replan attempts. 0 = disabled (default).
delay_ms: u64Delay in milliseconds between replan attempts. Prevents burning through attempts instantly if the model returns garbage fast. 0 = no delay.
verify_before_execute: boolIf true, replan proposals are scored via car-planner’s verify() before execution. Proposals with errors are rejected without executing. Prevents the engine from running a worse plan than the one that failed.
Trait Implementations§
Source§impl Clone for ReplanConfig
impl Clone for ReplanConfig
Source§fn clone(&self) -> ReplanConfig
fn clone(&self) -> ReplanConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplanConfig
impl Debug for ReplanConfig
Auto Trait Implementations§
impl Freeze for ReplanConfig
impl RefUnwindSafe for ReplanConfig
impl Send for ReplanConfig
impl Sync for ReplanConfig
impl Unpin for ReplanConfig
impl UnsafeUnpin for ReplanConfig
impl UnwindSafe for ReplanConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more