Enum env_logger::fmt::Target
[−]
[src]
pub enum Target { Stdout, Stderr, }
Log target, either stdout
or stderr
.
Variants
Stdout
Logs will be sent to standard output.
Stderr
Logs will be sent to standard error.
Trait Implementations
impl Clone for Target
[src]
impl Clone for Target
fn clone(&self) -> Target
[src]
fn clone(&self) -> Target
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Target
[src]
impl Copy for Target
impl Debug for Target
[src]
impl Debug for Target
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Target
[src]
impl Eq for Target
impl Hash for Target
[src]
impl Hash for Target
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Target
[src]
impl PartialEq for Target
fn eq(&self, __arg_0: &Target) -> bool
[src]
fn eq(&self, __arg_0: &Target) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Default for Target
[src]
impl Default for Target