pub struct DetachedCommand {
pub id: String,
pub sandbox: String,
pub command: Vec<String>,
pub pid: u32,
pub status: DetachedStatus,
pub exit_code: Option<i32>,
pub started_at: String,
}Expand description
A detached (background) command running in a sandbox.
Fields§
§id: String§sandbox: String§command: Vec<String>§pid: u32§status: DetachedStatus§exit_code: Option<i32>§started_at: StringTrait Implementations§
Source§impl Debug for DetachedCommand
impl Debug for DetachedCommand
Source§impl<'de> Deserialize<'de> for DetachedCommand
impl<'de> Deserialize<'de> for DetachedCommand
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
Auto Trait Implementations§
impl Freeze for DetachedCommand
impl RefUnwindSafe for DetachedCommand
impl Send for DetachedCommand
impl Sync for DetachedCommand
impl Unpin for DetachedCommand
impl UnwindSafe for DetachedCommand
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