pub struct FolderCopy {
pub path: PathBuf,
pub temporary: PathBuf,
pub folders: Vec<PathBuf>,
}Expand description
One copy a call to make files device-only writes (§17.3): its path, the temporary name in the same folder its bytes are written under, and the folders the call makes on its path.
Fields§
§path: PathBufWhere the copy goes.
temporary: PathBufThe name its bytes are written under until they are whole and synced.
folders: Vec<PathBuf>The folders the call makes that hold it, outermost first.
Trait Implementations§
Source§impl Clone for FolderCopy
impl Clone for FolderCopy
Source§fn clone(&self) -> FolderCopy
fn clone(&self) -> FolderCopy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FolderCopy
impl Debug for FolderCopy
Source§impl PartialEq for FolderCopy
impl PartialEq for FolderCopy
impl Eq for FolderCopy
impl StructuralPartialEq for FolderCopy
Auto Trait Implementations§
impl Freeze for FolderCopy
impl RefUnwindSafe for FolderCopy
impl Send for FolderCopy
impl Sync for FolderCopy
impl Unpin for FolderCopy
impl UnsafeUnpin for FolderCopy
impl UnwindSafe for FolderCopy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.