pub struct Termination {
pub get_app_died_events: Option<bool>,
pub supports_sudden_termination: Option<bool>,
pub application_exits_on_suspend: Option<bool>,
}Expand description
Termination
Fields§
§get_app_died_events: Option<bool>A Boolean value indicating whether the app is notified when a child process dies.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
supports_sudden_termination: Option<bool>A Boolean value indicating whether the system may terminate the app to log out or shut down more quickly.
§Availability
- macOS 10.0+
§Framework
- AppKit
application_exits_on_suspend: Option<bool>👎Deprecated since iOS 4.0-13.0, tvOS 9.0-13.0, watchOS 2.0-6.0: The system now automatically suspends apps leaving the foreground when they don’t require background execution.
For more information, see About the Background Execution Sequence.
Deprecated: A Boolean value indicating whether the app terminates, rather than moves to the background, when the app quits.
§Availability
- iOS 4.0–13.0
- tvOS 9.0–13.0
- watchOS 2.0–6.0
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for Termination
impl Clone for Termination
Source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Termination
impl Debug for Termination
Source§impl Default for Termination
impl Default for Termination
Source§fn default() -> Termination
fn default() -> Termination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Termination
impl<'de> Deserialize<'de> for Termination
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Termination
impl PartialEq for Termination
Source§impl Serialize for Termination
impl Serialize for Termination
impl Eq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
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
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.