pub struct RemoteShellCommand {
pub command: String,
pub stdin_script: Option<String>,
}Expand description
Remote command and optional stdin payload for a system SSH invocation.
Fields§
§command: StringCommand argument passed to SSH after the destination.
stdin_script: Option<String>Script to write and close concurrently with draining stdout/stderr. When absent, the caller should provide null stdin.
Trait Implementations§
Source§impl Clone for RemoteShellCommand
impl Clone for RemoteShellCommand
Source§impl Debug for RemoteShellCommand
impl Debug for RemoteShellCommand
impl Eq for RemoteShellCommand
Source§impl PartialEq for RemoteShellCommand
impl PartialEq for RemoteShellCommand
impl StructuralPartialEq for RemoteShellCommand
Auto Trait Implementations§
impl Freeze for RemoteShellCommand
impl RefUnwindSafe for RemoteShellCommand
impl Send for RemoteShellCommand
impl Sync for RemoteShellCommand
impl Unpin for RemoteShellCommand
impl UnsafeUnpin for RemoteShellCommand
impl UnwindSafe for RemoteShellCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.