pub struct SessionAppLifecycleResponse {
pub ok: bool,
pub wall_ms: u64,
}Expand description
v1.0.8 §D1 — response for POST /session/terminate-app and
POST /session/launch-app. Runner reports wall time for
observability; the whole point of splitting terminate + launch
from /session/relaunch-app is to let the SDK insert a
host-side SimctlClient::clear_app_sandbox call between them,
eliminating the “Insight quit unexpectedly” ReportCrash dialog
that even v1.0.4 §D12’s in-place simctl wipe still tripped.
Fields§
§ok: boolTrue on success.
wall_ms: u64Wall-clock milliseconds the terminate or launch took.
Trait Implementations§
Source§impl Clone for SessionAppLifecycleResponse
impl Clone for SessionAppLifecycleResponse
Source§fn clone(&self) -> SessionAppLifecycleResponse
fn clone(&self) -> SessionAppLifecycleResponse
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 moreSource§impl Debug for SessionAppLifecycleResponse
impl Debug for SessionAppLifecycleResponse
Source§impl Default for SessionAppLifecycleResponse
impl Default for SessionAppLifecycleResponse
Source§fn default() -> SessionAppLifecycleResponse
fn default() -> SessionAppLifecycleResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionAppLifecycleResponse
impl<'de> Deserialize<'de> for SessionAppLifecycleResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAppLifecycleResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionAppLifecycleResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionAppLifecycleResponse
impl Serialize for SessionAppLifecycleResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SessionAppLifecycleResponse
impl RefUnwindSafe for SessionAppLifecycleResponse
impl Send for SessionAppLifecycleResponse
impl Sync for SessionAppLifecycleResponse
impl Unpin for SessionAppLifecycleResponse
impl UnsafeUnpin for SessionAppLifecycleResponse
impl UnwindSafe for SessionAppLifecycleResponse
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