pub struct AppliedDirCreation<SrcSyncInfo, DstSyncInfo> { /* private fields */ }Expand description
Represent a DirCreation update that has been successfully applied on the FSBackend.
Implementations§
Source§impl<SrcSyncInfo, DstSyncInfo> AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo, DstSyncInfo> AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
Sourcepub fn new(
parent_path: &VirtualPath,
src_dir: DirTree<SrcSyncInfo>,
dst_dir: DirTree<DstSyncInfo>,
) -> Self
pub fn new( parent_path: &VirtualPath, src_dir: DirTree<SrcSyncInfo>, dst_dir: DirTree<DstSyncInfo>, ) -> Self
Create a new AppliedDirCreation.
parent_path is the path to the parent of the created dir. Since an update cannot create a
root dir, it always exist.
Trait Implementations§
Source§impl<SrcSyncInfo: Clone, DstSyncInfo: Clone> Clone for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo: Clone, DstSyncInfo: Clone> Clone for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
Source§fn clone(&self) -> AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
fn clone(&self) -> AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
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<SrcSyncInfo: Debug, DstSyncInfo: Debug> Debug for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo: Debug, DstSyncInfo: Debug> Debug for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
Source§impl<SrcSyncInfo, DstSyncInfo> From<AppliedDirCreation<SrcSyncInfo, DstSyncInfo>> for (VfsDirCreation<SrcSyncInfo>, VfsDirCreation<DstSyncInfo>)
impl<SrcSyncInfo, DstSyncInfo> From<AppliedDirCreation<SrcSyncInfo, DstSyncInfo>> for (VfsDirCreation<SrcSyncInfo>, VfsDirCreation<DstSyncInfo>)
Source§fn from(value: AppliedDirCreation<SrcSyncInfo, DstSyncInfo>) -> Self
fn from(value: AppliedDirCreation<SrcSyncInfo, DstSyncInfo>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<SrcSyncInfo, DstSyncInfo> Freeze for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo, DstSyncInfo> RefUnwindSafe for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>where
SrcSyncInfo: RefUnwindSafe,
DstSyncInfo: RefUnwindSafe,
impl<SrcSyncInfo, DstSyncInfo> Send for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo, DstSyncInfo> Sync for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo, DstSyncInfo> Unpin for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>
impl<SrcSyncInfo, DstSyncInfo> UnwindSafe for AppliedDirCreation<SrcSyncInfo, DstSyncInfo>where
SrcSyncInfo: UnwindSafe,
DstSyncInfo: UnwindSafe,
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