pub struct SshExecutionConfig {
pub host: String,
pub workspace_root: String,
pub port: Option<u16>,
pub identity_file: Option<String>,
pub extra_args: Vec<String>,
pub connect_timeout_secs: u64,
pub create_workspace: bool,
pub env_allowlist: Vec<String>,
}Fields§
§host: StringOpenSSH host or alias. Existing ~/.ssh/config, ssh-agent, ProxyJump, known_hosts, and hardware-token settings are honored.
workspace_root: StringPersistent agent-visible directory on the SSH host.
port: Option<u16>§identity_file: Option<String>Optional local identity file path. Prefer an OpenSSH alias/ssh-agent.
extra_args: Vec<String>Additional OpenSSH arguments, for example ["-J", "bastion"].
connect_timeout_secs: u64§create_workspace: boolCreate workspace_root on startup when it is missing.
env_allowlist: Vec<String>Environment variable names explicitly forwarded to remote executions.
Trait Implementations§
Source§impl Clone for SshExecutionConfig
impl Clone for SshExecutionConfig
Source§impl Debug for SshExecutionConfig
impl Debug for SshExecutionConfig
Source§impl Default for SshExecutionConfig
impl Default for SshExecutionConfig
Source§impl<'de> Deserialize<'de> for SshExecutionConfig
impl<'de> Deserialize<'de> for SshExecutionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SshExecutionConfig
impl Freeze for SshExecutionConfig
impl Move for SshExecutionConfig
impl RefUnwindSafe for SshExecutionConfig
impl Send for SshExecutionConfigwhere
RawVecInner: Send,
impl Sync for SshExecutionConfigwhere
RawVecInner: Sync,
impl Unpin for SshExecutionConfig
impl UnsafeUnpin for SshExecutionConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SshExecutionConfigwhere
RawVecInner: UnwindSafe,
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