pub enum DegradationReason {
ParseStorm {
pending_parses: usize,
},
IoError {
message: String,
},
ScanTimeout {
elapsed_ms: u64,
},
ResourceLimit {
kind: ResourceKind,
},
}Expand description
Workspace indexing and refactoring orchestration. Reason for index degradation.
Variants§
ParseStorm
Parse storm (too many simultaneous changes)
IoError
IO error during indexing
ScanTimeout
Timeout during workspace scan
ResourceLimit
Resource limits exceeded
Fields
§
kind: ResourceKindWhich resource limit was exceeded
Trait Implementations§
Source§impl Clone for DegradationReason
impl Clone for DegradationReason
Source§fn clone(&self) -> DegradationReason
fn clone(&self) -> DegradationReason
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 DegradationReason
impl Debug for DegradationReason
Source§impl PartialEq for DegradationReason
impl PartialEq for DegradationReason
impl Eq for DegradationReason
impl StructuralPartialEq for DegradationReason
Auto Trait Implementations§
impl Freeze for DegradationReason
impl RefUnwindSafe for DegradationReason
impl Send for DegradationReason
impl Sync for DegradationReason
impl Unpin for DegradationReason
impl UnsafeUnpin for DegradationReason
impl UnwindSafe for DegradationReason
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.