pub struct DaemonHandle {
pub platform: Platform,
pub id: String,
pub pid: Option<u32>,
}Expand description
Handle to a running daemon.
Fields§
§platform: PlatformPlatform that spawned this daemon.
id: StringPlatform-specific identifier.
pid: Option<u32>Process ID (if applicable).
Implementations§
Source§impl DaemonHandle
impl DaemonHandle
Trait Implementations§
Source§impl Clone for DaemonHandle
impl Clone for DaemonHandle
Source§fn clone(&self) -> DaemonHandle
fn clone(&self) -> DaemonHandle
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 moreAuto Trait Implementations§
impl Freeze for DaemonHandle
impl RefUnwindSafe for DaemonHandle
impl Send for DaemonHandle
impl Sync for DaemonHandle
impl Unpin for DaemonHandle
impl UnwindSafe for DaemonHandle
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