pub struct Mmi;Expand description
MMI (§8.6) — module-provided. Surfaces the module’s menus/enquiries and the
close as Notification::Mmi events for the application to display, and
answers the module’s display_control mode negotiation. The host drives the
dialog back through Driver::mmi_menu_answer
/ mmi_enquiry_answer /
mmi_cancel (sent by CiStack
on the open MMI session).
Trait Implementations§
Source§impl Resource for Mmi
impl Resource for Mmi
Source§fn id(&self) -> ResourceId
fn id(&self) -> ResourceId
The resource this handler serves.
Source§fn on_apdu(&mut self, apdu: &[u8]) -> ResourceOut
fn on_apdu(&mut self, apdu: &[u8]) -> ResourceOut
An APDU arrived on this resource’s session.
Source§fn on_open(&mut self) -> ResourceOut
fn on_open(&mut self) -> ResourceOut
The session for this resource just opened.
Source§fn tick(&mut self, _elapsed: Duration) -> ResourceOut
fn tick(&mut self, _elapsed: Duration) -> ResourceOut
Logical time advanced (for resources with timers, e.g. date_time).
Auto Trait Implementations§
impl Freeze for Mmi
impl RefUnwindSafe for Mmi
impl Send for Mmi
impl Sync for Mmi
impl Unpin for Mmi
impl UnsafeUnpin for Mmi
impl UnwindSafe for Mmi
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