pub struct SyncService { /* private fields */ }Implementations§
Source§impl SyncService
impl SyncService
pub fn new(paths: AppPaths, config: Config) -> Self
pub async fn run_once(&self) -> Result<SyncSummary>
pub async fn run_once_with_options( &self, options: SyncOptions, ) -> Result<SyncSummary>
pub async fn current_history( &self, target_name: Option<&str>, ) -> Result<Vec<HistoryEntry>>
Trait Implementations§
Source§impl Clone for SyncService
impl Clone for SyncService
Source§fn clone(&self) -> SyncService
fn clone(&self) -> SyncService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SyncService
impl !UnwindSafe for SyncService
impl Freeze for SyncService
impl Send for SyncService
impl Sync for SyncService
impl Unpin for SyncService
impl UnsafeUnpin for SyncService
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