Struct linux_info::network::modem_manager::Sim
source · pub struct Sim { /* private fields */ }Implementations§
source§impl Sim
impl Sim
sourcepub fn identifier(&self) -> Result<String, Error>
pub fn identifier(&self) -> Result<String, Error>
The ICCID of the SIM card.
This may be available before the PIN has been entered depending on the device itself.
sourcepub fn operator_name(&self) -> Result<String, Error>
pub fn operator_name(&self) -> Result<String, Error>
The name of the network operator, as given by the SIM card, if known.