#[repr(transparent)]pub struct QmiGasFirmwareAutoSimMode(pub c_uint);Expand description
Automatic carrier switch according to the SIM mode.
QMI_GAS_FIRMWARE_AUTO_SIM_DISABLE: Disable the automatic carrier switch according to the SIM.
QMI_GAS_FIRMWARE_AUTO_SIM_ENABLE: Enable the automatic carrier switch according to the SIM.
QMI_GAS_FIRMWARE_AUTO_SIM_ENABLE_ONE_SHOT: Enable the automatic carrier switch according to the SIM just for one time.
QMI_GAS_FIRMWARE_AUTO_SIM_PENDING_ONE_SHOT: Indicate the pending status of a single switch (used only in DMS Get Firmware Auto Sim).
Since: 1.36
Tuple Fields§
§0: c_uintImplementations§
Source§impl QmiGasFirmwareAutoSimMode
impl QmiGasFirmwareAutoSimMode
pub const QMI_GAS_FIRMWARE_AUTO_SIM_DISABLE: QmiGasFirmwareAutoSimMode
pub const QMI_GAS_FIRMWARE_AUTO_SIM_ENABLE: QmiGasFirmwareAutoSimMode
pub const QMI_GAS_FIRMWARE_AUTO_SIM_ENABLE_ONE_SHOT: QmiGasFirmwareAutoSimMode
pub const QMI_GAS_FIRMWARE_AUTO_SIM_PENDING_ONE_SHOT: QmiGasFirmwareAutoSimMode
Trait Implementations§
Source§impl Clone for QmiGasFirmwareAutoSimMode
impl Clone for QmiGasFirmwareAutoSimMode
Source§fn clone(&self) -> QmiGasFirmwareAutoSimMode
fn clone(&self) -> QmiGasFirmwareAutoSimMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QmiGasFirmwareAutoSimMode
Source§impl Debug for QmiGasFirmwareAutoSimMode
impl Debug for QmiGasFirmwareAutoSimMode
impl Eq for QmiGasFirmwareAutoSimMode
Source§impl Hash for QmiGasFirmwareAutoSimMode
impl Hash for QmiGasFirmwareAutoSimMode
impl StructuralPartialEq for QmiGasFirmwareAutoSimMode
Auto Trait Implementations§
impl Freeze for QmiGasFirmwareAutoSimMode
impl RefUnwindSafe for QmiGasFirmwareAutoSimMode
impl Send for QmiGasFirmwareAutoSimMode
impl Sync for QmiGasFirmwareAutoSimMode
impl Unpin for QmiGasFirmwareAutoSimMode
impl UnsafeUnpin for QmiGasFirmwareAutoSimMode
impl UnwindSafe for QmiGasFirmwareAutoSimMode
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