pub enum TimelinePlanError {
InvalidToolStatus {
raw: String,
},
InvalidBranchReason {
raw: String,
},
InvalidMaterializeMode {
raw: String,
},
ThreadRequired,
TargetRequired,
ToolCallHarnessRequired,
}Expand description
Failures from pure timeline parse / target planning.
Variants§
InvalidToolStatus
--status was not one of the known tool-call statuses.
InvalidBranchReason
--reason was not one of the known branch reasons.
InvalidMaterializeMode
--mode was not one of the known materialize modes.
ThreadRequired
Timeline thread name was empty.
TargetRequired
Zero or more than one of --step / --tool-call / --undo / --redo / --current.
ToolCallHarnessRequired
--tool-call was set without a non-empty --harness.
Trait Implementations§
Source§impl Clone for TimelinePlanError
impl Clone for TimelinePlanError
Source§fn clone(&self) -> TimelinePlanError
fn clone(&self) -> TimelinePlanError
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 TimelinePlanError
impl Debug for TimelinePlanError
Source§impl Display for TimelinePlanError
impl Display for TimelinePlanError
impl Eq for TimelinePlanError
Source§impl Error for TimelinePlanError
impl Error for TimelinePlanError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TimelinePlanError
impl PartialEq for TimelinePlanError
impl StructuralPartialEq for TimelinePlanError
Auto Trait Implementations§
impl Freeze for TimelinePlanError
impl RefUnwindSafe for TimelinePlanError
impl Send for TimelinePlanError
impl Sync for TimelinePlanError
impl Unpin for TimelinePlanError
impl UnsafeUnpin for TimelinePlanError
impl UnwindSafe for TimelinePlanError
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