pub struct LocalDir {
pub dir: PathBuf,
}Expand description
Collection destination: writes each file to dir/<name>. dir must already
exist before driving, so a bad output path fails the stream once rather than
once per file; use LocalDir::create_all to create it up front.
Fields§
§dir: PathBufImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalDir
impl RefUnwindSafe for LocalDir
impl Send for LocalDir
impl Sync for LocalDir
impl Unpin for LocalDir
impl UnsafeUnpin for LocalDir
impl UnwindSafe for LocalDir
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