pub enum AppExitResponse {
Exit,
Cancel,
}Expand description
The possible responses to a request to exit the application.
The request is typically responded to by creating an AppLifecycleListener and supplying
an on_exit_requested callback, or by overriding
WidgetsBindingObserver::did_request_app_exit.
Flutter counterpart: AppExitResponse (dart:ui platform_dispatcher.dart).
Variants§
Trait Implementations§
Source§impl Clone for AppExitResponse
impl Clone for AppExitResponse
impl Copy for AppExitResponse
Source§impl Debug for AppExitResponse
impl Debug for AppExitResponse
impl Eq for AppExitResponse
Source§impl Hash for AppExitResponse
impl Hash for AppExitResponse
Source§impl PartialEq for AppExitResponse
impl PartialEq for AppExitResponse
impl StructuralPartialEq for AppExitResponse
Auto Trait Implementations§
impl Freeze for AppExitResponse
impl RefUnwindSafe for AppExitResponse
impl Send for AppExitResponse
impl Sync for AppExitResponse
impl Unpin for AppExitResponse
impl UnsafeUnpin for AppExitResponse
impl UnwindSafe for AppExitResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.