Struct trace4rs_config::config::Target
source · pub struct Target(pub String);
Expand description
A log target, for example to capture all log messages in trace4rs::config
the target would be trace4rs::config
.
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl Ord for Target
impl Ord for Target
source§impl PartialEq<Target> for Target
impl PartialEq<Target> for Target
source§impl PartialOrd<Target> for Target
impl PartialOrd<Target> for Target
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Target
impl StructuralEq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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