pub struct HelperAuth { /* private fields */ }Expand description
Account state and identity from the helper’s status command.
Implementations§
Source§impl HelperAuth
impl HelperAuth
Sourcepub fn set_enabled(&self, enabled: bool)
pub fn set_enabled(&self, enabled: bool)
The user’s sync toggle. Disabling cancels an in-flight pass.
Trait Implementations§
Source§impl AuthProvider for HelperAuth
impl AuthProvider for HelperAuth
fn availability(&self) -> SyncResult<()>
fn generation(&self) -> u64
Source§fn account_scope(&self) -> Option<String>
fn account_scope(&self) -> Option<String>
Stable opaque identity of the signed-in account/container/zone
(CloudKit helper:
sha256(container|zone|userRecordName)), valid
after a successful availability(). The engine binds its ledger to
it and resets the ledger when it changes. None = no isolation.Auto Trait Implementations§
impl !RefUnwindSafe for HelperAuth
impl !UnwindSafe for HelperAuth
impl Freeze for HelperAuth
impl Send for HelperAuth
impl Sync for HelperAuth
impl Unpin for HelperAuth
impl UnsafeUnpin for HelperAuth
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