pub struct RestartReport {
pub server_id: String,
pub respawned: Vec<ActorKey>,
pub replayed_uris: Vec<Uri>,
}Expand description
4.4.d: result of a successful LspSupervisor::restart_server
(or the handle-side equivalent). The App surfaces these to
the user in the echo area (“restarted rust in 1 workspace; 4
buffers replayed”) and tests assert on them.
Fields§
§server_id: String§respawned: Vec<ActorKey>Every (workspace, server_id) pair that re-spawned.
replayed_uris: Vec<Uri>URIs that the replay path issued didOpen for so the
new actor sees the same buffer set.
Trait Implementations§
Source§impl Clone for RestartReport
impl Clone for RestartReport
Source§fn clone(&self) -> RestartReport
fn clone(&self) -> RestartReport
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for RestartReport
impl Freeze for RestartReport
impl Send for RestartReport
impl Sync for RestartReport
impl Unpin for RestartReport
impl UnsafeUnpin for RestartReport
impl UnwindSafe for RestartReport
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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