Enum env_logger::WriteStyle
source · [−]pub enum WriteStyle {
Auto,
Always,
Never,
}
Expand description
Whether or not to print styles to the target.
Variants
Auto
Try to print styles, but don’t force the issue.
Always
Try very hard to print styles.
Never
Never print styles.
Trait Implementations
sourceimpl Clone for WriteStyle
impl Clone for WriteStyle
sourcefn clone(&self) -> WriteStyle
fn clone(&self) -> WriteStyle
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WriteStyle
impl Debug for WriteStyle
sourceimpl Default for WriteStyle
impl Default for WriteStyle
sourceimpl Hash for WriteStyle
impl Hash for WriteStyle
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl PartialEq<WriteStyle> for WriteStyle
impl PartialEq<WriteStyle> for WriteStyle
sourcefn eq(&self, other: &WriteStyle) -> bool
fn eq(&self, other: &WriteStyle) -> bool
impl Copy for WriteStyle
impl Eq for WriteStyle
impl StructuralEq for WriteStyle
impl StructuralPartialEq for WriteStyle
Auto Trait Implementations
impl RefUnwindSafe for WriteStyle
impl Send for WriteStyle
impl Sync for WriteStyle
impl Unpin for WriteStyle
impl UnwindSafe for WriteStyle
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more