pub struct TracingConf { /* private fields */ }
Implementations§
Source§impl TracingConf
impl TracingConf
pub fn enabled_for(&self, module: &str, function: &str) -> bool
Trait Implementations§
Source§impl Clone for TracingConf
impl Clone for TracingConf
Source§fn clone(&self) -> TracingConf
fn clone(&self) -> TracingConf
Returns a copy 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 TracingConf
impl Debug for TracingConf
Source§impl Default for TracingConf
impl Default for TracingConf
Source§impl Parse for TracingConf
impl Parse for TracingConf
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for TracingConf
impl RefUnwindSafe for TracingConf
impl Send for TracingConf
impl Sync for TracingConf
impl Unpin for TracingConf
impl UnwindSafe for TracingConf
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