pub struct Target {}
Expand description
Helper for building a target to flush data into
Implementations§
Source§impl Target
impl Target
pub fn path<P: Into<PathBuf>>(path: P) -> PathTarget
pub fn stdout() -> StdoutTarget
pub fn stderr() -> StderrTarget
pub fn string<'a>(s: &'a mut String) -> StringTarget<'_>
Auto Trait Implementations§
impl Freeze for Target
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