pub struct SshWorkerConfig {
pub host: String,
pub user: String,
pub port: u16,
pub worker_id: String,
pub supported_tasks: Vec<String>,
pub remote_command: String,
pub identity_file: Option<String>,
pub connect_timeout_secs: u32,
}Expand description
Configuration for a remote SSH worker.
Fields§
§host: String§user: String§port: u16§worker_id: String§supported_tasks: Vec<String>§remote_command: String§identity_file: Option<String>§connect_timeout_secs: u32Auto Trait Implementations§
impl Freeze for SshWorkerConfig
impl RefUnwindSafe for SshWorkerConfig
impl Send for SshWorkerConfig
impl Sync for SshWorkerConfig
impl Unpin for SshWorkerConfig
impl UnsafeUnpin for SshWorkerConfig
impl UnwindSafe for SshWorkerConfig
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