pub enum SessionIssueKind {
MultiLineJsonl,
ConcatenatedJsonl,
CancelledState,
CancelledModelState,
OrphanedSession,
StaleIndexEntry,
MissingCompatFields,
DuplicateFormat,
SkeletonJson,
}Expand description
Categories of session issues that can be detected and auto-fixed
Variants§
MultiLineJsonl
JSONL file has multiple lines (operations not compacted)
ConcatenatedJsonl
JSONL first line contains concatenated JSON objects (missing newlines)
CancelledState
Index entry has lastResponseState = 2 (Cancelled), blocks VS Code loading
CancelledModelState
Last request’s modelState.value is 2 (Cancelled) or missing in file content
OrphanedSession
File exists on disk but is not in the VS Code index
StaleIndexEntry
Index entry references a file that no longer exists on disk
MissingCompatFields
Session is missing required VS Code compat fields
DuplicateFormat
Both .json and .jsonl exist for the same session ID
SkeletonJson
Legacy .json file is corrupted — contains only structural chars ({}, whitespace)
Trait Implementations§
Source§impl Clone for SessionIssueKind
impl Clone for SessionIssueKind
Source§fn clone(&self) -> SessionIssueKind
fn clone(&self) -> SessionIssueKind
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionIssueKind
impl Debug for SessionIssueKind
Source§impl Display for SessionIssueKind
impl Display for SessionIssueKind
Source§impl PartialEq for SessionIssueKind
impl PartialEq for SessionIssueKind
impl StructuralPartialEq for SessionIssueKind
Auto Trait Implementations§
impl Freeze for SessionIssueKind
impl RefUnwindSafe for SessionIssueKind
impl Send for SessionIssueKind
impl Sync for SessionIssueKind
impl Unpin for SessionIssueKind
impl UnsafeUnpin for SessionIssueKind
impl UnwindSafe for SessionIssueKind
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.