Struct async_ssh2_tokio::client::CommandExecutedResult
source · pub struct CommandExecutedResult {
pub output: String,
pub exit_status: u32,
}Fields§
§output: StringThe stdout output of the command.
exit_status: u32The unix exit status ($? in bash).
Trait Implementations§
source§impl Clone for CommandExecutedResult
impl Clone for CommandExecutedResult
source§fn clone(&self) -> CommandExecutedResult
fn clone(&self) -> CommandExecutedResult
Returns a copy 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 moresource§impl Debug for CommandExecutedResult
impl Debug for CommandExecutedResult
source§impl Hash for CommandExecutedResult
impl Hash for CommandExecutedResult
source§impl PartialEq<CommandExecutedResult> for CommandExecutedResult
impl PartialEq<CommandExecutedResult> for CommandExecutedResult
source§fn eq(&self, other: &CommandExecutedResult) -> bool
fn eq(&self, other: &CommandExecutedResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.