Struct qapi_qga::GuestExecStatus
source · [−]pub struct GuestExecStatus {
pub exited: bool,
pub err_truncated: Option<bool>,
pub exitcode: Option<i32>,
pub err_data: Option<Vec<u8>>,
pub out_truncated: Option<bool>,
pub signal: Option<i32>,
pub out_data: Option<Vec<u8>>,
}Fields
exited: boolerr_truncated: Option<bool>exitcode: Option<i32>err_data: Option<Vec<u8>>out_truncated: Option<bool>signal: Option<i32>out_data: Option<Vec<u8>>Implementations
Trait Implementations
sourceimpl Clone for GuestExecStatus
impl Clone for GuestExecStatus
sourcefn clone(&self) -> GuestExecStatus
fn clone(&self) -> GuestExecStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GuestExecStatus
impl Debug for GuestExecStatus
sourceimpl<'de> Deserialize<'de> for GuestExecStatus
impl<'de> Deserialize<'de> for GuestExecStatus
sourcefn 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
sourceimpl Display for GuestExecStatus
impl Display for GuestExecStatus
sourceimpl Error for GuestExecStatus
impl Error for GuestExecStatus
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<GuestExecStatus> for Error
impl From<GuestExecStatus> for Error
sourcefn from(s: GuestExecStatus) -> Self
fn from(s: GuestExecStatus) -> Self
Converts to this type from the input type.
sourceimpl Serialize for GuestExecStatus
impl Serialize for GuestExecStatus
Auto Trait Implementations
impl RefUnwindSafe for GuestExecStatus
impl Send for GuestExecStatus
impl Sync for GuestExecStatus
impl Unpin for GuestExecStatus
impl UnwindSafe for GuestExecStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more