pub struct CloudKitHelper { /* private fields */ }Expand description
One helper process shared by the backend and the auth provider of a single sync engine. Clone freely.
Implementations§
Source§impl CloudKitHelper
impl CloudKitHelper
pub fn new(cfg: HelperConfig, observer: Arc<dyn SyncObserver>) -> Self
pub fn backend(&self) -> HelperBackend
pub fn auth(&self) -> HelperAuth
Sourcepub fn spawn_count(&self) -> u64
pub fn spawn_count(&self) -> u64
Number of helper processes started so far.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CloudKitHelper
impl !UnwindSafe for CloudKitHelper
impl Forget for CloudKitHelper
impl Freeze for CloudKitHelper
impl Move for CloudKitHelper
impl Send for CloudKitHelper
impl Sync for CloudKitHelper
impl Unpin for CloudKitHelper
impl UnsafeUnpin for CloudKitHelper
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