pub enum ThreadPadding {
Left(usize),
Right(usize),
Off,
}
Expand description
Padding to be used for logging the thread id/name
Variants§
Left(usize)
Add spaces on the left side, up to usize many
Right(usize)
Add spaces on the right side, up to usize many
Off
Do not pad the thread id/name
Trait Implementations§
Source§impl Clone for ThreadPadding
impl Clone for ThreadPadding
Source§fn clone(&self) -> ThreadPadding
fn clone(&self) -> ThreadPadding
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 ThreadPadding
impl Debug for ThreadPadding
impl Copy for ThreadPadding
Auto Trait Implementations§
impl Freeze for ThreadPadding
impl RefUnwindSafe for ThreadPadding
impl Send for ThreadPadding
impl Sync for ThreadPadding
impl Unpin for ThreadPadding
impl UnwindSafe for ThreadPadding
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