pub struct OutputWriter { /* private fields */ }Implementations§
Source§impl OutputWriter
impl OutputWriter
pub fn new(format: OutputFormat, root_path: PathBuf) -> Self
pub fn set_output_path(&mut self, path: PathBuf)
pub fn set_stdout_mode(&mut self)
pub async fn write_files(&self, files: Vec<FilteredFile>) -> Result<usize>
Auto Trait Implementations§
impl Freeze for OutputWriter
impl RefUnwindSafe for OutputWriter
impl Send for OutputWriter
impl Sync for OutputWriter
impl Unpin for OutputWriter
impl UnsafeUnpin for OutputWriter
impl UnwindSafe for OutputWriter
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