pub struct SpringboardClient<S> { /* private fields */ }Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin> SpringboardClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin> SpringboardClient<S>
pub fn new(stream: S) -> Self
pub async fn list_icons(&mut self) -> Result<Vec<Vec<Icon>>, SpringboardError>
pub async fn get_icon_state_raw( &mut self, format_version: &str, ) -> Result<Value, SpringboardError>
pub async fn get_icon_png_data( &mut self, bundle_id: &str, ) -> Result<Vec<u8>, SpringboardError>
pub async fn get_interface_orientation( &mut self, ) -> Result<InterfaceOrientation, SpringboardError>
pub async fn get_homescreen_icon_metrics( &mut self, ) -> Result<Value, SpringboardError>
pub async fn get_wallpaper_info( &mut self, wallpaper_name: &str, ) -> Result<Value, SpringboardError>
pub async fn get_wallpaper_preview_image( &mut self, wallpaper_name: &str, ) -> Result<Vec<u8>, SpringboardError>
pub async fn set_icon_state( &mut self, icon_state: &Value, ) -> Result<(), SpringboardError>
pub async fn get_homescreen_wallpaper_pngdata( &mut self, ) -> Result<Vec<u8>, SpringboardError>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for SpringboardClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for SpringboardClient<S>where
S: RefUnwindSafe,
impl<S> Send for SpringboardClient<S>where
S: Send,
impl<S> Sync for SpringboardClient<S>where
S: Sync,
impl<S> Unpin for SpringboardClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for SpringboardClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SpringboardClient<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