pub struct TraceListenerOptions { /* private fields */ }
Implementations§
Source§impl TraceListenerOptions
impl TraceListenerOptions
pub fn new() -> Self
pub fn with_stdout(self, is_stdout: bool) -> Self
pub fn with_level(self, level: Level) -> Self
pub fn with_file_path<S: AsRef<str> + ToString>( self, file_path: S, cleanup_file: bool, ) -> Self
pub fn with_thread_names(self, include_thread_names: bool) -> Self
pub fn with_thread_ids(self, include_thread_ids: bool) -> Self
pub fn with_env_filter(self, filter: impl Into<EnvFilter>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TraceListenerOptions
impl RefUnwindSafe for TraceListenerOptions
impl Send for TraceListenerOptions
impl Sync for TraceListenerOptions
impl Unpin for TraceListenerOptions
impl UnwindSafe for TraceListenerOptions
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