pub struct SshExecuteResult {
pub stdout: String,
pub stderr: String,
pub status_code: u32,
}
Expand description
Response that have to be returned by custom command handler.
Fields§
§stdout: String
Standard output.
stderr: String
Standard error.
status_code: u32
Program exit code. Usually 0 means success.
Implementations§
Source§impl SshExecuteResult
impl SshExecuteResult
Auto Trait Implementations§
impl Freeze for SshExecuteResult
impl RefUnwindSafe for SshExecuteResult
impl Send for SshExecuteResult
impl Sync for SshExecuteResult
impl Unpin for SshExecuteResult
impl UnwindSafe for SshExecuteResult
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