Home
last modified time | relevance | path

Searched refs:Interest (Results 1 – 25 of 46) sorted by relevance

12

/third_party/rust/crates/tracing/tracing-subscriber/src/filter/
Dfilter_fn.rs6 use tracing_core::{Interest, Metadata, Subscriber};
50 R = fn(&'static Metadata<'static>) -> Interest,
296 ) -> Interest { in is_callsite_enabled() argument
310 return Interest::always(); in is_callsite_enabled()
313 Interest::never() in is_callsite_enabled()
333 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
560 R2: Fn(&'static Metadata<'static>) -> Interest, in with_callsite_filter() argument
577 fn default_callsite_enabled(&self, metadata: &Metadata<'_>) -> Interest { in default_callsite_enabled() argument
590 return Interest::never(); in default_callsite_enabled()
596 Interest::sometimes() in default_callsite_enabled()
[all …]
Dlevel.rs2 subscriber::{Interest, Subscriber},
12 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
14 Interest::always() in register_callsite()
16 Interest::never() in register_callsite()
Dtargets.rs23 use tracing_core::{Interest, Level, Metadata, Subscriber};
365 fn interested(&self, metadata: &'static Metadata<'static>) -> Interest { in interested() argument
367 Interest::always() in interested()
369 Interest::never() in interested()
446 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
462 fn callsite_enabled(&self, metadata: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
/third_party/rust/crates/tracing/tracing-core/src/
Dsubscriber.rs178 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
180 Interest::always() in register_callsite()
182 Interest::never() in register_callsite()
592 pub struct Interest(InterestKind); struct
601 impl Interest { impl
609 Interest(InterestKind::Never) in never()
621 Interest(InterestKind::Sometimes) in sometimes()
631 Interest(InterestKind::Always) in always()
661 pub(crate) fn and(self, rhs: Interest) -> Self { in and()
665 Interest::sometimes() in and()
[all …]
Dcallsite.rs116 subscriber::Interest,
136 fn set_interest(&self, interest: Interest); in set_interest() argument
312 pub fn register(&'static self) -> Interest { in register() argument
337 return Interest::sometimes(); in register()
342 Self::INTEREST_NEVER => Interest::never(), in register()
343 Self::INTEREST_ALWAYS => Interest::always(), in register()
344 _ => Interest::sometimes(), in register()
351 pub fn interest(&'static self) -> Interest { in interest() argument
353 Self::INTEREST_NEVER => Interest::never(), in interest()
354 Self::INTEREST_SOMETIMES => Interest::sometimes(), in interest()
[all …]
Ddispatcher.rs502 pub fn register_callsite(&self, metadata: &'static Metadata<'static>) -> subscriber::Interest { in register_callsite() argument
853 subscriber::Interest,
880 fn set_interest(&self, _: Interest) {} in set_interest() argument
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dreload.rs5 subscriber::Interest,
16 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument
17 Interest::never() in register_callsite()
46 fn register_callsite(&self, m: &Metadata<'_>) -> Interest { in reload_handle() argument
48 Interest::sometimes() in reload_handle()
96 fn register_callsite(&self, _m: &Metadata<'_>) -> Interest { in reload_filter() argument
97 Interest::sometimes() in reload_filter()
Doption.rs2 use tracing_core::{subscriber::Interest, LevelFilter, Metadata, Subscriber};
9 fn register_callsite(&self, _m: &Metadata<'_>) -> Interest { in register_callsite() argument
10 Interest::sometimes() in register_callsite()
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/layer_filters/
Dcombinator.rs6 subscriber::Interest,
120 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
303 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
309 return Interest::always(); in callsite_enabled()
315 return Interest::sometimes(); in callsite_enabled()
324 Interest::never() in callsite_enabled()
476 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
478 i if i.is_always() => Interest::never(), in callsite_enabled()
479 i if i.is_never() => Interest::always(), in callsite_enabled()
480 _ => Interest::sometimes(), in callsite_enabled()
Dmod.rs46 subscriber::{Interest, Subscriber},
140 interest: RefCell<Option<Interest>>,
452 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
454 Interest::always() in callsite_enabled()
456 Interest::never() in callsite_enabled()
473 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest {
627 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
649 Interest::always() in register_callsite()
1012 fn add_interest(&self, interest: Interest) { in add_interest() argument
1028 *curr_interest = Interest::sometimes(); in add_interest()
[all …]
/third_party/rust/crates/signal-hook/signal-hook-mio/src/
Dlib.rs159 use mio::{Interest, Registry, Token};
169 interest: Interest, in register() argument
178 interest: Interest, in reregister() argument
251 use mio::{Interest, Registry, Token};
261 interest: Interest, in register() argument
270 interest: Interest, in reregister() argument
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/
Dmod.rs24 subscriber::{Interest, Subscriber},
613 fn base_interest(&self) -> Interest { in base_interest() argument
615 Interest::sometimes() in base_interest()
617 Interest::never() in base_interest()
621 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
629 return Interest::always(); in register_callsite()
635 Interest::always() in register_callsite()
644 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
695 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest {
826 fn register_callsite(&self, _: &'static Metadata<'static>) -> subscriber::Interest { in register_callsite() argument
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/
Dmod.rs680 subscriber::{Interest, Subscriber},
810 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
812 Interest::always() in register_callsite()
814 Interest::never() in register_callsite()
1375 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest {
1377 Interest::sometimes()
1560 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
1563 None => Interest::always(), in register_callsite()
1678 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest {
1769 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest {
[all …]
Dlayered.rs1 use tracing_core::{metadata::Metadata, span, Dispatch, Event, Interest, LevelFilter, Subscriber};
94 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
257 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
434 fn pick_interest(&self, outer: Interest, inner: impl FnOnce() -> Interest) -> Interest { in pick_interest() argument
470 return Interest::sometimes(); in pick_interest()
Dtests.rs26 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument
27 Interest::never() in register_callsite()
/third_party/rust/crates/tracing/tracing/tests/
Dregister_callsite_deadlock.rs5 subscriber::{self, Interest, Subscriber},
14 fn register_callsite(&self, meta: &'static Metadata<'static>) -> Interest { in register_callsite_doesnt_deadlock() argument
16 Interest::always() in register_callsite_doesnt_deadlock()
Dsubscriber.rs11 subscriber::{with_default, Interest, Subscriber},
24 fn register_callsite(&self, _: &Metadata<'_>) -> Interest { in event_macros_dont_infinite_loop() argument
27 Interest::sometimes() in event_macros_dont_infinite_loop()
/third_party/rust/crates/signal-hook/signal-hook-mio/tests/
Dmio_0_7.rs8 use mio_0_7::{Events, Interest, Poll, Token};
25 .register(&mut signals, token, Interest::READABLE) in mio_wakeup()
58 .register(&mut signals, token, Interest::READABLE) in mio_multiple_signals()
90 .register(&mut signals, token, Interest::READABLE) in mio_parallel_multiple()
Dmio_0_8.rs8 use mio_0_8::{Events, Interest, Poll, Token};
25 .register(&mut signals, token, Interest::READABLE) in mio_wakeup()
58 .register(&mut signals, token, Interest::READABLE) in mio_multiple_signals()
90 .register(&mut signals, token, Interest::READABLE) in mio_parallel_multiple()
/third_party/rust/crates/tracing/tracing-subscriber/src/
Dreload.rs78 subscriber::{Interest, Subscriber},
128 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument
129 try_lock!(self.inner.read(), else return Interest::sometimes()).register_callsite(metadata) in register_callsite()
217 fn callsite_enabled(&self, metadata: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
218 try_lock!(self.inner.read(), else return Interest::sometimes()).callsite_enabled(metadata) in callsite_enabled()
/third_party/rust/crates/tracing/tracing-core/tests/
Dmacros.rs5 subscriber::Interest,
15 fn set_interest(&self, _: Interest) { in metadata_macro_api() argument
/third_party/rust/crates/tracing/examples/examples/
Dcounters.rs62 fn register_callsite(&self, meta: &Metadata<'_>) -> subscriber::Interest { in register_callsite() argument
63 let mut interest = subscriber::Interest::never(); in register_callsite()
73 interest = subscriber::Interest::always(); in register_callsite()
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/
Dsharded.rs20 Event, Interest, Metadata, Subscriber,
221 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument
223 return FilterState::take_interest().unwrap_or_else(Interest::always); in register_callsite()
226 Interest::always() in register_callsite()
456 fn set_interest(&self, _: Interest) { in default() argument
/third_party/rust/crates/tracing/tracing/src/
Dlib.rs976 use crate::{subscriber::Interest, Metadata};
995 pub fn __is_enabled(meta: &Metadata<'static>, interest: Interest) -> bool { in __is_enabled()
/third_party/rust/crates/tracing/tracing-mock/src/
Dsubscriber.rs19 subscriber::Interest,
204 fn register_callsite(&self, meta: &'static Metadata<'static>) -> Interest { in register_callsite() argument
207 Interest::always() in register_callsite()
209 Interest::never() in register_callsite()

12