pub struct MobileActivationClient<S> { /* private fields */ }Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin> MobileActivationClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin> MobileActivationClient<S>
pub fn new(stream: S) -> Self
pub async fn request_session_info( &mut self, ) -> Result<Dictionary, MobileActivationError>
pub async fn request_activation_info( &mut self, handshake_response: &[u8], ) -> Result<Dictionary, MobileActivationError>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for MobileActivationClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for MobileActivationClient<S>where
S: RefUnwindSafe,
impl<S> Send for MobileActivationClient<S>where
S: Send,
impl<S> Sync for MobileActivationClient<S>where
S: Sync,
impl<S> Unpin for MobileActivationClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for MobileActivationClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MobileActivationClient<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