Struct async_ssh2_tokio::client::CommandExecutedResult
source · pub struct CommandExecutedResult {
pub stdout: String,
pub stderr: String,
pub exit_status: u32,
}
Fields§
§stdout: String
The stdout output of the command.
stderr: String
The stderr output of the command.
exit_status: u32
The 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 for CommandExecutedResult
impl PartialEq 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 ==
.impl Eq for CommandExecutedResult
impl StructuralPartialEq for CommandExecutedResult
Auto Trait Implementations§
impl Freeze for CommandExecutedResult
impl RefUnwindSafe for CommandExecutedResult
impl Send for CommandExecutedResult
impl Sync for CommandExecutedResult
impl Unpin for CommandExecutedResult
impl UnwindSafe for CommandExecutedResult
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