pub struct PullWorkspaceResult {
pub server_key: ServerKey,
pub files_reported: Vec<PathBuf>,
pub complete: bool,
pub cancelled: bool,
pub supports_workspace: bool,
}Expand description
Result of pull_workspace_diagnostics for a single server.
Fields§
§server_key: ServerKey§files_reported: Vec<PathBuf>Files for which a Full report was received and cached. Files that came
back as Unchanged are NOT listed here because their cached entry was
already authoritative.
complete: boolTrue if the server returned a full response within the timeout.
cancelled: boolTrue if we cancelled (request timed out before the server responded).
supports_workspace: boolTrue if the server advertised workspace pull support. When false, the other fields are empty and the caller should fall back to file-mode pull or to push semantics.
Trait Implementations§
Source§impl Clone for PullWorkspaceResult
impl Clone for PullWorkspaceResult
Source§fn clone(&self) -> PullWorkspaceResult
fn clone(&self) -> PullWorkspaceResult
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 moreAuto Trait Implementations§
impl Freeze for PullWorkspaceResult
impl RefUnwindSafe for PullWorkspaceResult
impl Send for PullWorkspaceResult
impl Sync for PullWorkspaceResult
impl Unpin for PullWorkspaceResult
impl UnsafeUnpin for PullWorkspaceResult
impl UnwindSafe for PullWorkspaceResult
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