Struct src_dst_clarifier::ioers::WriteFile
source · pub struct WriteFile { /* private fields */ }Implementations§
Trait Implementations§
source§impl Output for WriteFile
impl Output for WriteFile
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 WriteFile
impl Send for WriteFile
impl Sync for WriteFile
impl Unpin for WriteFile
impl UnwindSafe for WriteFile
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