Module sync

Module sync 

Source
Expand description

Sync provider abstraction and job execution

This module defines the sync provider trait and job types. Each job type has its own module with execution logic that can be reused by peers.

Re-exports§

pub use download_pins::DownloadPinsJob;
pub use ping_peer::PingPeerJob;
pub use sync_bucket::SyncBucketJob;
pub use sync_bucket::SyncTarget;

Modules§

download_pins
Pins download job and execution logic
ping_peer
Peer ping job and execution logic
sync_bucket
Bucket synchronization job and execution logic

Enums§

SyncJob
Background sync job types

Traits§

SyncProvider
Trait for sync provider implementations

Functions§

execute_job
Execute a sync job by calling the appropriate module’s execute function