enum Tab {
Logs,
Traces,
Metrics,
}Variants§
Implementations§
Source§impl Tab
impl Tab
fn signal(self) -> &'static str
Sourcefn free_text(self) -> Option<&'static str>
fn free_text(self) -> Option<&'static str>
Where a filter word with no operator goes.
Someone who types refused means “show me the ones that say refused”,
which is what every log viewer in the market does with a bare word and
what this one used to do with it: nothing at all, silently, while the
filter bar showed the word and the rows looked filtered.
None for metrics, whose where terms are attribute predicates on data
points — there is no text column to search, so a bare word there is
reported rather than invented a meaning for.
Sourcefn fields(self) -> &'static [&'static str]
fn fields(self) -> &'static [&'static str]
Columns of the signal’s root table.
This is what decides whether name=checkout filters a column or an
attribute, and getting it wrong is silent both ways: an unknown field
matches nothing rather than erroring, and a column missing from this
list is sent as attr, which the Bloom filter prunes to zero rows. That
is what happened to event_name, added to the schema after this list
was written — so tests::the_field_list_is_the_schema now pins the two
together. Not an intra-doc link: the target is behind cfg(test), so it
does not exist in the configuration rustdoc builds.
Trait Implementations§
impl Copy for Tab
impl Eq for Tab
impl StructuralPartialEq for Tab
Auto Trait Implementations§
impl Freeze for Tab
impl RefUnwindSafe for Tab
impl Send for Tab
impl Sync for Tab
impl Unpin for Tab
impl UnsafeUnpin for Tab
impl UnwindSafe for Tab
Blanket Implementations§
impl<T> Allocation for T
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
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,
§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
§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
key and return true if they are equal.§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>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].