Struct src_dst_clarifier::ioers::WriteStdout
source · pub struct WriteStdout(_);Implementations§
source§impl WriteStdout
impl WriteStdout
Trait Implementations§
source§impl Debug for WriteStdout
impl Debug for WriteStdout
source§impl Output for WriteStdout
impl Output for WriteStdout
fn writer<'a>(&'a mut self) -> Result<&'a mut dyn Write>
fn extension<'a>(&'a self) -> Option<&'a OsStr>
source§fn set_file_name(&mut self, file_name: &OsStr) -> Result<()>
fn set_file_name(&mut self, file_name: &OsStr) -> Result<()>
Take effects before [
Output::get_writer].source§fn remove_dst(&mut self) -> Result<bool>
fn remove_dst(&mut self) -> Result<bool>
Remove only if the DST file is empty.
bool here indicates whether the file is empty.source§fn remove_dst_anyway(&mut self) -> Result<()>
fn remove_dst_anyway(&mut self) -> Result<()>
Anyway remove the DST file.
Auto Trait Implementations§
impl RefUnwindSafe for WriteStdout
impl Send for WriteStdout
impl Sync for WriteStdout
impl Unpin for WriteStdout
impl UnwindSafe for WriteStdout
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