pub struct PreboardServiceClient {
pub idevice: Idevice,
}Expand description
Client for interacting with the preboard service on the device.
Fields§
§idevice: IdeviceThe underlying device connection with established service
Implementations§
Source§impl PreboardServiceClient
impl PreboardServiceClient
pub fn new(idevice: Idevice) -> Self
pub async fn create_stashbag( &mut self, manifest: &[u8], ) -> Result<(), IdeviceError>
pub async fn commit_stashbag( &mut self, manifest: &[u8], ) -> Result<(), IdeviceError>
pub async fn clear_system_token(&mut self) -> Result<(), IdeviceError>
Trait Implementations§
Source§impl Debug for PreboardServiceClient
impl Debug for PreboardServiceClient
Source§impl IdeviceService for PreboardServiceClient
impl IdeviceService for PreboardServiceClient
Source§fn service_name() -> Cow<'static, str>
fn service_name() -> Cow<'static, str>
Returns the service name as advertised by the device
async fn from_stream(idevice: Idevice) -> Result<Self, IdeviceError>
Source§async fn connect(provider: &dyn IdeviceProvider) -> Result<Self, IdeviceError>
async fn connect(provider: &dyn IdeviceProvider) -> Result<Self, IdeviceError>
Establishes a connection to this service Read more
Source§impl RsdService for PreboardServiceClient
impl RsdService for PreboardServiceClient
fn rsd_service_name() -> Cow<'static, str>
async fn from_stream(stream: Box<dyn ReadWrite>) -> Result<Self, IdeviceError>
fn connect_rsd(
provider: &mut impl RsdProvider,
handshake: &mut RsdHandshake,
) -> impl Future<Output = Result<Self, IdeviceError>>where
Self: RsdService,
Auto Trait Implementations§
impl !RefUnwindSafe for PreboardServiceClient
impl !UnwindSafe for PreboardServiceClient
impl Freeze for PreboardServiceClient
impl Send for PreboardServiceClient
impl Sync for PreboardServiceClient
impl Unpin for PreboardServiceClient
impl UnsafeUnpin for PreboardServiceClient
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