pub struct RelationPass {
pub edges: Vec<RelationEdge>,
pub settled: BTreeSet<String>,
pub live_queries: usize,
pub cache_hits: usize,
pub answered: usize,
}Expand description
Result of one relation pass.
Fields§
§edges: Vec<RelationEdge>Sorted, deduplicated edges found this pass.
settled: BTreeSet<String>Declaring files whose every queried symbol got a definitive answer. Only their earlier edges may be pruned; files left unanswered (backend unavailable, budget, cold server) keep theirs.
live_queries: usizeSymbols asked live this pass, and answered from the cache.
cache_hits: usize§answered: usizeSymbols that got any answer (live or cached, complete or not). Zero means the pass learned nothing — e.g. a file declaring no symbol of the relation’s kinds is settled without a single question.
Implementations§
Trait Implementations§
Source§impl Clone for RelationPass
impl Clone for RelationPass
Source§impl Debug for RelationPass
impl Debug for RelationPass
Source§impl Default for RelationPass
impl Default for RelationPass
impl Eq for RelationPass
Source§impl PartialEq for RelationPass
impl PartialEq for RelationPass
impl StructuralPartialEq for RelationPass
Auto Trait Implementations§
impl Forget for RelationPass
impl Freeze for RelationPass
impl Move for RelationPass
impl RefUnwindSafe for RelationPass
impl Send for RelationPass
impl Sync for RelationPass
impl Unpin for RelationPass
impl UnsafeUnpin for RelationPass
impl UnwindSafe for RelationPass
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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