pub(crate) struct IndexProjectMismatch {
pub(crate) status: IndexReadStatus,
pub(crate) selected_project_root: String,
pub(crate) indexed_project_root: String,
}Expand description
Typed refusal when a selected project root and durable index disagree.
Fields§
§status: IndexReadStatusStable project binding state for adapters.
selected_project_root: StringCanonical project root selected for this read.
indexed_project_root: StringCanonical project root recorded by the opened index.
Trait Implementations§
Source§impl Clone for IndexProjectMismatch
impl Clone for IndexProjectMismatch
Source§fn clone(&self) -> IndexProjectMismatch
fn clone(&self) -> IndexProjectMismatch
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 IndexProjectMismatch
impl Debug for IndexProjectMismatch
Source§impl Display for IndexProjectMismatch
impl Display for IndexProjectMismatch
Source§impl PartialEq for IndexProjectMismatch
impl PartialEq for IndexProjectMismatch
Source§impl Serialize for IndexProjectMismatch
impl Serialize for IndexProjectMismatch
impl Eq for IndexProjectMismatch
impl StructuralPartialEq for IndexProjectMismatch
Auto Trait Implementations§
impl Freeze for IndexProjectMismatch
impl RefUnwindSafe for IndexProjectMismatch
impl Send for IndexProjectMismatch
impl Sync for IndexProjectMismatch
impl Unpin for IndexProjectMismatch
impl UnwindSafe for IndexProjectMismatch
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§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 more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more