pub struct FileLogWriterConfig { /* private fields */ }
Expand description
Configuration of a FileLogWriter
.
Implementations§
Source§impl FileLogWriterConfig
impl FileLogWriterConfig
Sourcepub fn discriminant(&self) -> Option<String>
pub fn discriminant(&self) -> Option<String>
Returns the configured discriminant
.
Sourcepub fn print_message(&self) -> bool
pub fn print_message(&self) -> bool
Returns true
if a message should be printed on program start
to which file the log is written.
Trait Implementations§
Source§impl Clone for FileLogWriterConfig
impl Clone for FileLogWriterConfig
Source§fn clone(&self) -> FileLogWriterConfig
fn clone(&self) -> FileLogWriterConfig
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 moreAuto Trait Implementations§
impl Freeze for FileLogWriterConfig
impl RefUnwindSafe for FileLogWriterConfig
impl Send for FileLogWriterConfig
impl Sync for FileLogWriterConfig
impl Unpin for FileLogWriterConfig
impl UnwindSafe for FileLogWriterConfig
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