pub struct LogfileSelector { /* private fields */ }
Expand description
Used in LoggerHandle::existing_log_files
.
Example:
let all_log_files = logger_handle.existing_log_files(
&LogfileSelector::default()
.with_r_current()
.with_compressed_files()
);
Implementations§
Source§impl LogfileSelector
impl LogfileSelector
Sourcepub fn with_r_current(self) -> Self
pub fn with_r_current(self) -> Self
Selects additionally the rCURRENT
file.
Sourcepub fn with_custom_current(self, s: &str) -> Self
pub fn with_custom_current(self, s: &str) -> Self
Selects additionally a custom “current” file.
Sourcepub fn with_compressed_files(self) -> Self
pub fn with_compressed_files(self) -> Self
Selects additionally the compressed log files.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogfileSelector
impl RefUnwindSafe for LogfileSelector
impl Send for LogfileSelector
impl Sync for LogfileSelector
impl Unpin for LogfileSelector
impl UnwindSafe for LogfileSelector
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