Struct Client
pub struct Client {
handle: ClientHandle,
}👎Deprecated:
use ql-nas and ql-uim
Expand description
SIM client.
Fields§
§handle: ClientHandle👎Deprecated:
use ql-nas and ql-uim
Implementations§
§impl Client
impl Client
unsafe fn deinit_unchecked(&self) -> Result<()>
👎Deprecated:
use ql-nas and ql-uim
§impl Client
impl Client
pub fn get_imsi_for_app(&self, slot: SlotId, app: App) -> Result<String>
👎Deprecated: use ql-nas and ql-uim
pub fn get_imsi_for_app(&self, slot: SlotId, app: App) -> Result<String>
use ql-nas and ql-uim
Returns the IMSI of the SIM card in the specified slot and app.
pub fn get_imsi(&self, slot: SlotId) -> Result<String>
👎Deprecated: use ql-nas and ql-uim
pub fn get_imsi(&self, slot: SlotId) -> Result<String>
use ql-nas and ql-uim
Returns the first IMSI of the SIM card in the specified slot.
pub fn get_iccid(&self, slot: SlotId) -> Result<String>
👎Deprecated: use ql-nas and ql-uim
pub fn get_iccid(&self, slot: SlotId) -> Result<String>
use ql-nas and ql-uim
Returns the ICCID of the SIM card in the specified slot.
pub fn get_card_status(&self, slot: SlotId) -> Result<Option<CardStatusInfo>>
👎Deprecated: use ql-nas and ql-uim
pub fn get_card_status(&self, slot: SlotId) -> Result<Option<CardStatusInfo>>
use ql-nas and ql-uim
Returns the card status of the SIM card in the specified slot.
Returns None if the slot is empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl UnwindSafe for Client
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