pub struct Mobilebackup2Client<S> { /* private fields */ }Implementations§
Source§impl<S> Mobilebackup2Client<S>
impl<S> Mobilebackup2Client<S>
Source§impl<S> Mobilebackup2Client<S>
impl<S> Mobilebackup2Client<S>
pub async fn version_exchange( &mut self, ) -> Result<VersionExchange, Mobilebackup2Error>
pub async fn backup( &mut self, backup_root: &Path, target_identifier: &str, full: bool, info_plist: &Dictionary, ) -> Result<BackupResult, Mobilebackup2Error>
pub async fn change_password( &mut self, backup_root: &Path, target_identifier: &str, old_password: Option<&str>, new_password: Option<&str>, ) -> Result<(), Mobilebackup2Error>
pub async fn restore( &mut self, backup_root: &Path, target_identifier: &str, options: RestoreOptions<'_>, ) -> Result<RestoreResult, Mobilebackup2Error>
pub async fn info( &mut self, backup_root: &Path, target_identifier: &str, source_identifier: Option<&str>, ) -> Result<Option<Value>, Mobilebackup2Error>
pub async fn list( &mut self, backup_root: &Path, target_identifier: &str, source_identifier: Option<&str>, ) -> Result<Option<Value>, Mobilebackup2Error>
Auto Trait Implementations§
impl<S> Freeze for Mobilebackup2Client<S>where
S: Freeze,
impl<S> RefUnwindSafe for Mobilebackup2Client<S>where
S: RefUnwindSafe,
impl<S> Send for Mobilebackup2Client<S>where
S: Send,
impl<S> Sync for Mobilebackup2Client<S>where
S: Sync,
impl<S> Unpin for Mobilebackup2Client<S>where
S: Unpin,
impl<S> UnsafeUnpin for Mobilebackup2Client<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Mobilebackup2Client<S>where
S: 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