pub enum DiagnosticsOutcome {
Applied {
count: usize,
},
Stale {
current: u64,
},
}Expand description
The result of publishing a diagnostic set.
Variants§
Applied
The set was current: squiggle decorations were replaced wholesale.
Stale
The set’s revision was not current — the whole set was dropped (no patch-forwarding of stale sets); the previous decorations keep riding edits via stickiness and the app waits for its next debounce.
Trait Implementations§
Source§impl Clone for DiagnosticsOutcome
impl Clone for DiagnosticsOutcome
Source§fn clone(&self) -> DiagnosticsOutcome
fn clone(&self) -> DiagnosticsOutcome
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 moreSource§impl Debug for DiagnosticsOutcome
impl Debug for DiagnosticsOutcome
impl Eq for DiagnosticsOutcome
Source§impl PartialEq for DiagnosticsOutcome
impl PartialEq for DiagnosticsOutcome
impl StructuralPartialEq for DiagnosticsOutcome
Auto Trait Implementations§
impl Freeze for DiagnosticsOutcome
impl RefUnwindSafe for DiagnosticsOutcome
impl Send for DiagnosticsOutcome
impl Sync for DiagnosticsOutcome
impl Unpin for DiagnosticsOutcome
impl UnsafeUnpin for DiagnosticsOutcome
impl UnwindSafe for DiagnosticsOutcome
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§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.