pub struct HostExecResult {
pub name: String,
pub ok: bool,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub duration_ms: u64,
pub error: Option<String>,
}Expand description
Per-host result for multi-host exec JSON/text.
Fields§
§name: StringVPS name.
ok: boolWhether the remote command succeeded (exit 0).
exit_code: Option<i32>Remote exit code when available.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr or local error text.
duration_ms: u64Wall duration in milliseconds.
error: Option<String>Error summary when ok is false.
Trait Implementations§
Source§impl Clone for HostExecResult
impl Clone for HostExecResult
Source§fn clone(&self) -> HostExecResult
fn clone(&self) -> HostExecResult
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 moreAuto Trait Implementations§
impl Freeze for HostExecResult
impl RefUnwindSafe for HostExecResult
impl Send for HostExecResult
impl Sync for HostExecResult
impl Unpin for HostExecResult
impl UnsafeUnpin for HostExecResult
impl UnwindSafe for HostExecResult
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