pub struct RestoreServiceClient<S> { /* private fields */ }Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin> RestoreServiceClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin> RestoreServiceClient<S>
pub async fn connect(stream: S) -> Result<Self, RestoreError>
pub async fn enter_recovery( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn delay_recovery_image( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn reboot( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn get_preflight_info( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn get_nonces( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn get_app_parameters( &mut self, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
pub async fn restore_lang( &mut self, language: impl Into<String>, ) -> Result<IndexMap<String, XpcValue>, RestoreError>
Auto Trait Implementations§
impl<S> Freeze for RestoreServiceClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for RestoreServiceClient<S>where
S: RefUnwindSafe,
impl<S> Send for RestoreServiceClient<S>where
S: Send,
impl<S> Sync for RestoreServiceClient<S>where
S: Sync,
impl<S> Unpin for RestoreServiceClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for RestoreServiceClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for RestoreServiceClient<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