Struct EventReg
pub struct EventReg {
pub card_status: bool,
}Expand description
Sets which indications the modem sends (QMI_UIM_EVENT_REG).
Subscribe with Client::events before you send
this request, otherwise the first indications are lost.
Fields§
§card_status: boolSend a StatusChange when the card status
changes.
Implementations§
§impl EventReg
impl EventReg
const CARD_STATUS: u32 = 1
const CARD_STATUS: u32 = 1
Bit of the card status in the event mask.
Trait Implementations§
impl Copy for EventReg
impl Eq for EventReg
§impl Request for EventReg
impl Request for EventReg
impl StructuralPartialEq for EventReg
Auto Trait Implementations§
impl Freeze for EventReg
impl RefUnwindSafe for EventReg
impl Send for EventReg
impl Sync for EventReg
impl Unpin for EventReg
impl UnsafeUnpin for EventReg
impl UnwindSafe for EventReg
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