#[non_exhaustive]pub struct AppOpenReply {
pub status: AppOpenStatus,
pub pid: u32,
/* private fields */
}Expand description
A successful app.open reply.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: AppOpenStatus§pid: u32The process id of the started or still-running app.
Implementations§
Source§impl AppOpenReply
impl AppOpenReply
Sourcepub fn launched(pid: u32) -> AppOpenReply
pub fn launched(pid: u32) -> AppOpenReply
The daemon started a new process with this pid.
Sourcepub fn already_running(pid: u32) -> AppOpenReply
pub fn already_running(pid: u32) -> AppOpenReply
The process the daemon started earlier, with this pid, is still running.
Trait Implementations§
Source§impl Clone for AppOpenReply
impl Clone for AppOpenReply
Source§fn clone(&self) -> AppOpenReply
fn clone(&self) -> AppOpenReply
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 AppOpenReply
impl Debug for AppOpenReply
Source§impl<'de> Deserialize<'de> for AppOpenReply
impl<'de> Deserialize<'de> for AppOpenReply
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppOpenReply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppOpenReply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AppOpenReply
Source§impl PartialEq for AppOpenReply
impl PartialEq for AppOpenReply
Source§impl Serialize for AppOpenReply
impl Serialize for AppOpenReply
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
impl StructuralPartialEq for AppOpenReply
Auto Trait Implementations§
impl Forget for AppOpenReply
impl Freeze for AppOpenReply
impl Move for AppOpenReply
impl RefUnwindSafe for AppOpenReply
impl Send for AppOpenReply
impl Sync for AppOpenReply
impl Unpin for AppOpenReply
impl UnsafeUnpin for AppOpenReply
impl UnwindSafe for AppOpenReply
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