pub struct SessionSyncer<FS: FileSystem> { /* private fields */ }Implementations§
Source§impl<FS: FileSystem> SessionSyncer<FS>
impl<FS: FileSystem> SessionSyncer<FS>
pub fn new(filesystem: FS) -> Self
pub fn sync( &self, source_root_dir: &Path, source_prefix: &str, target_dir: &Path, options: &SyncOptions, ) -> Result<SyncResult>
Auto Trait Implementations§
impl<FS> Freeze for SessionSyncer<FS>where
FS: Freeze,
impl<FS> RefUnwindSafe for SessionSyncer<FS>where
FS: RefUnwindSafe,
impl<FS> Send for SessionSyncer<FS>
impl<FS> Sync for SessionSyncer<FS>
impl<FS> Unpin for SessionSyncer<FS>where
FS: Unpin,
impl<FS> UnsafeUnpin for SessionSyncer<FS>where
FS: UnsafeUnpin,
impl<FS> UnwindSafe for SessionSyncer<FS>where
FS: 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