pub enum FileSink {
Path(PathBuf),
Temp,
Memory,
}Expand description
Destination for file output.
Variants§
Path(PathBuf)
Write to a local path.
Temp
Write to a managed temp file (returned to caller).
Memory
Write to an in-memory buffer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileSink
impl RefUnwindSafe for FileSink
impl Send for FileSink
impl Sync for FileSink
impl Unpin for FileSink
impl UnsafeUnpin for FileSink
impl UnwindSafe for FileSink
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