pub enum ParallelMode {
Sequential,
Parallel,
}Expand description
The mode in which the logger will process the actual loggers
Variants§
Sequential
The logger will use a single thread to process all actual loggers in sequence
Parallel
The logger will use a separate thread for each actual logger
Trait Implementations§
Source§impl Clone for ParallelMode
impl Clone for ParallelMode
Source§fn clone(&self) -> ParallelMode
fn clone(&self) -> ParallelMode
Returns a duplicate 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 ParallelMode
impl Debug for ParallelMode
impl Copy for ParallelMode
Auto Trait Implementations§
impl Freeze for ParallelMode
impl RefUnwindSafe for ParallelMode
impl Send for ParallelMode
impl Sync for ParallelMode
impl Unpin for ParallelMode
impl UnwindSafe for ParallelMode
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