pub struct Target { /* private fields */ }Expand description
A log target.
Implementations§
Source§impl Target
impl Target
Sourcepub const fn new(kind: TargetKind) -> Self
pub const fn new(kind: TargetKind) -> Self
Creates a new Target of the given TargetKind, with no filters and the Builder’s formatter.
Auto Trait Implementations§
impl !RefUnwindSafe for Target
impl !Sync for Target
impl !UnwindSafe for Target
impl Freeze for Target
impl Send for Target
impl Unpin for Target
impl UnsafeUnpin 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