pub struct MisagentClient<S> { /* private fields */ }Expand description
MiSAgent client.
Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin> MisagentClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin> MisagentClient<S>
pub fn new(stream: S) -> Self
Sourcepub async fn copy_all(&mut self) -> Result<Vec<Vec<u8>>, MisagentError>
pub async fn copy_all(&mut self) -> Result<Vec<Vec<u8>>, MisagentError>
Copy (retrieve) all installed provisioning profiles.
Sourcepub async fn list_profiles(&mut self) -> Result<Vec<Profile>, MisagentError>
pub async fn list_profiles(&mut self) -> Result<Vec<Profile>, MisagentError>
Copy all installed provisioning profiles and decode basic metadata.
Auto Trait Implementations§
impl<S> Freeze for MisagentClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for MisagentClient<S>where
S: RefUnwindSafe,
impl<S> Send for MisagentClient<S>where
S: Send,
impl<S> Sync for MisagentClient<S>where
S: Sync,
impl<S> Unpin for MisagentClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for MisagentClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MisagentClient<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