pub struct UiccLink(/* private fields */);
Expand description
An object that keeps the UICC (Universal Integrated Circuit Card). As long as there is an instance, the UICC will be kept on. The drop function disables the UICC if there is no link left.
You can use this object to power on the UICC and interact with the SIM card, without keeping other parts of the modem powered on. If you already use LTE, you do not need to explicitly power on the UICC.
You do not need to create a UICC link for any of the structs in the crate to work. However, you may need this if you are manually executing AT commands to interact with the SIM card.
Implementations§
Trait Implementations§
impl Eq for UiccLink
impl StructuralPartialEq for UiccLink
Auto Trait Implementations§
impl Freeze for UiccLink
impl RefUnwindSafe for UiccLink
impl Send for UiccLink
impl Sync for UiccLink
impl Unpin for UiccLink
impl UnwindSafe for UiccLink
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