pub struct PostEditWaitOutcome {
pub diagnostics: Vec<StoredDiagnostic>,
pub pending_servers: Vec<ServerKey>,
pub exited_servers: Vec<ServerKey>,
}Expand description
Outcome of a post-edit diagnostics wait. Reports the per-server status
alongside the fresh diagnostics, so the response layer can build an
honest tri-state payload (success: true + complete: bool + named
gap fields per crates/aft/src/protocol.rs).
diagnostics only contains entries from servers that proved freshness
(version-match preferred, epoch-fallback for unversioned servers).
Pre-edit cached entries are NEVER included — that’s the whole point of
this type.
Fields§
§diagnostics: Vec<StoredDiagnostic>Diagnostics from servers whose response we verified is FOR the post-edit document version (or whose epoch we saw advance after our pre-edit snapshot, for unversioned servers).
pending_servers: Vec<ServerKey>Servers we expected to publish but didn’t before the deadline.
Reported to the agent via pending_lsp_servers so they understand
the result is partial.
exited_servers: Vec<ServerKey>Servers whose process exited between notification and deadline. Reported separately so the agent knows the gap is unrecoverable without a server restart, not “wait longer.”
Implementations§
Trait Implementations§
Source§impl Clone for PostEditWaitOutcome
impl Clone for PostEditWaitOutcome
Source§fn clone(&self) -> PostEditWaitOutcome
fn clone(&self) -> PostEditWaitOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PostEditWaitOutcome
impl Debug for PostEditWaitOutcome
Source§impl Default for PostEditWaitOutcome
impl Default for PostEditWaitOutcome
Source§fn default() -> PostEditWaitOutcome
fn default() -> PostEditWaitOutcome
Auto Trait Implementations§
impl Freeze for PostEditWaitOutcome
impl RefUnwindSafe for PostEditWaitOutcome
impl Send for PostEditWaitOutcome
impl Sync for PostEditWaitOutcome
impl Unpin for PostEditWaitOutcome
impl UnsafeUnpin for PostEditWaitOutcome
impl UnwindSafe for PostEditWaitOutcome
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
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>
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>
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